linux/drivers/net/wireless/realtek/rtl8xxxu
Bitterblue Smith 639c26faf9 wifi: rtl8xxxu: Fix assignment to bit field priv->cck_agc_report_type
Just because priv->cck_agc_report_type is only one bit doesn't mean
it works like a bool. The value assigned to it loses all bits except
bit 0, so only assign 0 or 1 to it.

This affects the RTL8192EU, but rtl8xxxu already can't connect to any
networks with this chip, so it probably didn't bother anyone.

Fixes: 2ad2a813b8 ("wifi: rtl8xxxu: Fix the CCK RSSI calculation")
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/7bb4858c-5cef-9cae-5e08-7e8444e8ba89@gmail.com
2022-12-14 14:22:50 +02:00
..
Kconfig wifi: rtl8xxxu: Update module description 2022-10-12 07:33:59 +03:00
Makefile wifi: rtl8xxxu: Support new chip RTL8188FU 2022-10-04 11:09:33 +03:00
rtl8xxxu_8188f.c wifi: rtl8xxxu: Fix assignment to bit field priv->pi_enabled 2022-12-14 14:22:49 +02:00
rtl8xxxu_8192c.c wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu_8192e.c wifi: rtl8xxxu: fixing IQK failures for rtl8192eu 2022-12-08 16:53:35 +02:00
rtl8xxxu_8723a.c wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu_8723b.c wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu_core.c wifi: rtl8xxxu: Fix assignment to bit field priv->cck_agc_report_type 2022-12-14 14:22:50 +02:00
rtl8xxxu_regs.h wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu.h wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h 2022-12-08 16:45:15 +02:00