wifi: cw1200: restore endian swapping
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Feb 2024 11:11:56 +0000 (12:11 +0100)
committerKalle Valo <kvalo@kernel.org>
Tue, 5 Mar 2024 18:54:15 +0000 (20:54 +0200)
commit81e060584f1deb7f89df5c0b7897a96409cf6c2a
tree729a63c3d600376e61927a3bec76cff96f335f31
parentf6e36d9e1c6353b74f1511ea18aa7c6fddd6e697
wifi: cw1200: restore endian swapping

The code here looks well thought-out, so it seems likely
that the byte-swaps are actually needed, due to SPI bus
and device behaviour. Restore the byte-swapping, in a way
that doesn't result in sparse warnings.

Fixes: 7ceade653429 ("wifi: cw1200: fix __le16 sparse warnings")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240228121156.62f820aa6dfb.Ia63314e4d0ed1ee76f100846d68f0722abf6b793@changeid
drivers/net/wireless/st/cw1200/cw1200_spi.c