summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorYun Lu <luyun@kylinos.cn>2023-05-12 04:20:55 +0300
committerKalle Valo <kvalo@kernel.org>2023-05-15 21:19:21 +0300
commit20429444e653ee8242dfbf815c0c37866beb371b (patch)
tree22cb55ff56694f4aef9f4016be00026506b01de8 /net/wireless
parent60fc756fc8e6954a5618eecac73b255d651602e4 (diff)
downloadlinux-20429444e653ee8242dfbf815c0c37866beb371b.tar.xz
wifi: rtl8xxxu: fix authentication timeout due to incorrect RCR value
When using rtl8192cu with rtl8xxxu driver to connect wifi, there is a probability of failure, which shows "authentication with ... timed out". Through debugging, it was found that the RCR register has been inexplicably modified to an incorrect value, resulting in the nic not being able to receive authenticated frames. To fix this problem, add regrcr in rtl8xxxu_priv struct, and store the RCR value every time the register is written, and use it the next time the register need to be modified. Signed-off-by: Yun Lu <luyun@kylinos.cn> Link: https://lore.kernel.org/all/20230427020512.1221062-1-luyun_611@163.com Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230512012055.2990472-1-luyun_611@163.com
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions