diff options
author | Martin Kaistra <martin.kaistra@linutronix.de> | 2024-01-16 12:50:01 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-01-19 20:30:53 +0300 |
commit | 563d5025cf3b51c7bf20e6966af433ed5f838875 (patch) | |
tree | 779f65e52d2ab368f3aa4f5c78b6b6dc81c6edc4 /drivers/net/wireless/realtek/rtlwifi/usb.c | |
parent | edec42821911a68317a611a2c2434a80c48bd3c0 (diff) | |
download | linux-563d5025cf3b51c7bf20e6966af433ed5f838875.tar.xz |
wifi: rtl8xxxu: add missing number of sec cam entries for all variants
Commit b837f78fbffa ("wifi: rtl8xxxu: add hw crypto support for AP
mode") introduced max_sec_cam_num as a member of rtl8xxxu_fileops.
It was missed to set this number for all variants except 8188f, which
caused rtl8xxxu_get_free_sec_cam() to always return 0 and therefore breaking
encrypted traffic.
Fix it by adding the numbers for all variants. The values are taken from
the vendor drivers and rtlwifi.
Link: https://lore.kernel.org/linux-wireless/20240111163603.2325-1-zenmchen@gmail.com/
Fixes: b837f78fbffa ("wifi: rtl8xxxu: add hw crypto support for AP mode")
Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240116095001.399500-1-martin.kaistra@linutronix.de
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/usb.c')
0 files changed, 0 insertions, 0 deletions