Commit 9d5b6657 authored by Johannes Berg's avatar Johannes Berg Committed by Kalle Valo

wifi: wl18xx: add some missing endian conversions

This caused sparse warnings, and clearly is needed per
how other firmware interfaces behave.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.2b5cb713cf4b.Ibabba2deb7bb22863d3a134e7a3333422d7eff17@changeid
parent a08e3518
......@@ -131,10 +131,10 @@ int wl18xx_process_mailbox_events(struct wl1271 *wl)
if (vector & TIME_SYNC_EVENT_ID)
wlcore_event_time_sync(wl,
mbox->time_sync_tsf_high_msb,
mbox->time_sync_tsf_high_lsb,
mbox->time_sync_tsf_low_msb,
mbox->time_sync_tsf_low_lsb);
le16_to_cpu(mbox->time_sync_tsf_high_msb),
le16_to_cpu(mbox->time_sync_tsf_high_lsb),
le16_to_cpu(mbox->time_sync_tsf_low_msb),
le16_to_cpu(mbox->time_sync_tsf_low_lsb));
if (vector & RADAR_DETECTED_EVENT_ID) {
wl1271_info("radar event: channel %d type %s",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment