MLK-18675-06 brcmfmac: set apsta to 1 when AP start on primary interface.
authorWright Feng <wright.feng@cypress.com>
Mon, 11 Sep 2017 07:48:57 +0000 (02:48 -0500)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit137f43b3445ebad392edb0d214c78ee07a8a7bd9
tree1baba031ba33daa7d0ecabf525cc5151fdbe7cf4
parente9ed5b1791c6c85847c2ad85dcbb7b6b850df050
MLK-18675-06 brcmfmac: set apsta to 1 when AP start on primary interface.

APSTA can work on two band concurrently with using VSDB(Virtual
Simultaneous Dual-Band) or RSDB(Real Simultaneous Dual-Band) features.
In this case, we have to keep apsta is 1 in firmware side. However, if
we start wpa_supplicant on wlan0 and then start hostapd on wlan 1, the
apsta will be set to 0, and we will see data stall on wlan0(station)
So that, we only set apsta to 1 when AP start on primary interface.

Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c