]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: rtw89: use u32_get_bits to access C2H content of PHY capability
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 8 Sep 2022 07:41:36 +0000 (15:41 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 12 Sep 2022 11:51:43 +0000 (14:51 +0300)
commita44e9582080909c79588ecb3121f89f3d4812bd4
treea55c0e6e089c03618599c864be072e009e7e5fac
parent9626c5e672f78a51c30cadb2dc5c97d3a19719f4
wifi: rtw89: use u32_get_bits to access C2H content of PHY capability

The definitions of bit fields in structure will be wrong in big-endian
platform, so use u32_get_bits() to access them.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220908074140.39776-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/mac.c