diff options
author | Yun Lu | 2023-05-12 09:20:55 +0800 |
---|---|---|
committer | Kalle Valo | 2023-05-15 21:19:21 +0300 |
commit | 20429444e653ee8242dfbf815c0c37866beb371b (patch) | |
tree | 22cb55ff56694f4aef9f4016be00026506b01de8 /net/xdp | |
parent | 60fc756fc8e6954a5618eecac73b255d651602e4 (diff) |
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/xdp')
0 files changed, 0 insertions, 0 deletions