]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: specify max. IE length
authorMerlijn Wajer <merlijn@wizzup.org>
Sun, 12 Dec 2021 22:13:08 +0000 (23:13 +0100)
committerKalle Valo <kvalo@kernel.org>
Thu, 16 Dec 2021 08:28:38 +0000 (10:28 +0200)
commitf6b947be0c5d0ec9de3290545a3e025316fca235
tree10599b4b5535c132e30a27401342cb6952b12fa4
parentf65a72b28187d4e8d7e85c96028e39ed23c55829
wl1251: specify max. IE length

This fix is similar to commit 439b7fad09fd ("wil6210: specify max. IE
length").  Without the max IE length set, wpa_supplicant cannot operate
using the nl80211 interface.

This patch is a workaround - the number 512 is taken from the wlcore
driver, but note that per Paul Fertser:

    there's no correct number because the driver will ignore the data
    passed in extra IEs.

Suggested-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211212221310.5453-1-merlijn@wizzup.org
drivers/net/wireless/ti/wl1251/main.c