wifi: rtl8xxxu: add missing number of sec cam entries for all variants
Commit b837f78f ("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: b837f78f ("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
Loading
Please sign in to comment