[PATCH 1/4] Reset bss_index on AP start
Eugene Krasnikov
k.eugene.e at gmail.com
Mon Jul 29 14:06:22 EDT 2013
bss_index must be set to 0xFF every time AP mode
is started.
Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
---
main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/main.c b/main.c
index d21a37e..118a3da 100644
--- a/main.c
+++ b/main.c
@@ -615,6 +615,7 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw,
if (bss_conf->enable_beacon) {
wcn->beacon_enable = true;
+ wcn->current_vif->bss_index = 0xff;
wcn36xx_smd_config_bss(wcn, vif, NULL,
wcn->addresses[0].addr, false);
skb = ieee80211_beacon_get_tim(hw, vif, &tim_off,
--
1.8.2.2
More information about the wcn36xx
mailing list