]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: remove setting IBSS mode when stopping AP
authorChi-hsien Lin <Chi-Hsien.Lin@cypress.com>
Thu, 18 May 2017 09:22:19 +0000 (17:22 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 22 May 2017 15:21:10 +0000 (18:21 +0300)
commit86909853b5d938fb61f249b3aaafd9bc609639f4
treea718aeef21763adb1b0a27323aafd530da05dd4b
parentbdd037ff9179c78936cdbad4823cc067251df45c
brcmfmac: remove setting IBSS mode when stopping AP

Upon stopping an AP interface the driver disable INFRA mode effectively
setting the interface in IBSS mode. However, this may affect other
interfaces running in INFRA mode. For instance, if user creates and stops
hostap daemon on virtual interface, then association cannot work on
primary interface because default BSS has been set to IBSS mode in
firmware side. The IBSS mode should be set when cfg80211 changes the
interface.

Reviewed-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Chi-hsien Lin <Chi-Hsien.Lin@cypress.com>
[kvalo@codeaurora.org: rephased commit log based on discussion]
Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c