diff options
author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2022-12-08 21:34:02 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-12-14 14:22:50 +0200 |
commit | 639c26faf9b15922bc620af341545d6c5d6aab2d (patch) | |
tree | 905eecdb3b44c2294cf906cf61195b6e7a5b1823 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9e32b4a709f0f7b7adf5d9939c3bd47c78c4f003 (diff) |
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: 2ad2a813b803 ("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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions