brcmfmac: set wpa_auth to WPA_AUTH_DISABLED in AP/OPEN security mode
authorWright Feng <wright.feng@cypress.com>
Thu, 3 Aug 2017 09:37:57 +0000 (17:37 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 8 Aug 2017 11:51:07 +0000 (14:51 +0300)
commitfdfb0f94bfb71ce31f5417b2f6362e43b0b847f0
tree611506fa7fc5f9eee45ce9ea70f3d94aafe07fea
parent4ba28f93948df5643c24402c642fb769e09fab73
brcmfmac: set wpa_auth to WPA_AUTH_DISABLED in AP/OPEN security mode

When setting wpa_auth to WPA_AUTH_NONE(1) in AP mode with WEP security,
firmware will set privacy bit and add WPA OUI in VENDOR IE in beacon and
probe response. The security type in softAP beacons confuse the
supplicant in client side, and the user client will see [WPA-?] in
supplicant scan result. So we set WPA_AUTH_DISABLED in softAP mode with
OPEN security.

Signed-off-by: Wright Feng <wright.feng@cypress.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c