]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtlwifi: rtl8188ee: correct allstasleep in P2P PS H2C command
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 6 Nov 2025 00:49:32 +0000 (08:49 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 11 Nov 2025 02:10:21 +0000 (10:10 +0800)
commit12e6bea1aac85cc98a55031ebf10db969eeafa34
treed628451b91bb5779f16d1d3dcf0df00917c197e0
parent623c177323ec16c2c72b4ea0ad68bda223928488
wifi: rtlwifi: rtl8188ee: correct allstasleep in P2P PS H2C command

The "->allstasleep" variable is a 1 bit bitfield. It can only be 0 or 1.
This "= -1" assignement should be "= 0" as other chips and vendor driver.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-wireless/5c992936-4e7b-4c0a-abfc-0ec0fb9ef9fd@suswa.mountain/T/#t
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/1762390172-21091-1-git-send-email-pkshih@realtek.com
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c