]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rtlwifi: 8192de: use le32 to access cckswing tables
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 10 May 2019 08:03:33 +0000 (16:03 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:34:01 +0000 (15:34 +0300)
commit80429a86e3d904be33991a2b9f29fa3b9983fb3a
tree5fbc82be6e03067fde4ec74a32fb08f8d303e65d
parent0e7d38132bf8fbf6651add139ef506106d91ab29
rtlwifi: 8192de: use le32 to access cckswing tables

The cckswing tables cckswing_table_ch1ch13 and cckswing_table_ch14 are
u8 array in little-endian order. To compare four u8 value with register
u32 value, cast the value to cpu order.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c