summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2017-02-24 17:07:39 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-20 07:22:13 -0700
commitc5ada8abb3141e2791e7aa023e264fa65dbe941a (patch)
tree2f3fea73f88f2adc1fa1803650f4b0c53d7d80ab
parentfe450996f980cba1422a1bbe87903e5d87d8ba19 (diff)
qcacld-2.0: Check unsafe channel on bss start
prima to qcacld-2.0 propation. There is a race condition, LTE channel avoidance indication is received while BSS is starting, thus BSS is starting on the unsafe channel and driver is not honoring the unsafe channel list given by LTE coex event. Add function to always check current operating channel with unsafe channel list on SAP start. Change-Id: Ieda6fd4c6fa61fd45d340a850d61a6954d2a67a9 CRs-Fixed: 1106969
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 58c8b43db30a..1890ec5a0624 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -16699,6 +16699,8 @@ static int wlan_hdd_cfg80211_start_bss(hdd_adapter_t *pHostapdAdapter,
}
}
#endif
+ /* Check and restart SAP if it is on unsafe channel */
+ hdd_unsafe_channel_restart_sap(pHddCtx);
pHostapdState->bCommit = TRUE;
EXIT();