wifi: libertas: add support for WPS enrollee IE in probe requests
authorDoug Brown <doug@schmorgal.com>
Mon, 23 Jan 2023 05:31:32 +0000 (21:31 -0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 13 Feb 2023 15:13:57 +0000 (17:13 +0200)
commite6a1c4b9884f1c917e505e5663bdeff489ff1c36
treefe5c861c12a124d2f0f782adbb4af676b5900ec0
parent5fb2a7854a9e6cad3f665cf290864c858cbc68d5
wifi: libertas: add support for WPS enrollee IE in probe requests

Add compatibility with WPS by passing on WPS enrollee information in
probe requests. Ignore other IEs supplied in the scan request. This also
has the added benefit of restoring compatibility with newer
wpa_supplicant versions that always add scan IEs. Previously, with
max_scan_ie_len set to 0, scans would always fail.

Suggested-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Doug Brown <doug@schmorgal.com>
Reviewed-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230123053132.30710-5-doug@schmorgal.com
drivers/net/wireless/marvell/libertas/cfg.c