diff options
author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2022-12-08 21:32:18 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-12-14 14:22:49 +0200 |
commit | 9e32b4a709f0f7b7adf5d9939c3bd47c78c4f003 (patch) | |
tree | 0ae4d391dd42b725c4f9ee257aec1c06d6173bc4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 16a03958618fb91bb1bc7077cf3211055162cc2f (diff) |
wifi: rtl8xxxu: Fix assignment to bit field priv->pi_enabled
Just because priv->pi_enabled 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 RTL8188FU, but fixing the assignment didn't make
a difference for my device.
Fixes: c888183b21f3 ("wifi: rtl8xxxu: Support new chip RTL8188FU")
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/4368d585-11ec-d3c7-ec12-7f0afdcedfda@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions