diff options
| author | Ryan Hsu <ryanhsu@qca.qualcomm.com> | 2015-01-20 13:48:07 -0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2015-01-29 15:23:42 +0530 |
| commit | 07f9e744df686ba40c8a2f3d55e677301b955075 (patch) | |
| tree | 637329beeff684e58d953c594b9d2793eb59a8fc | |
| parent | dd7eb4a1c6da0f68ffe1e34a6bee4c88a3ab7b52 (diff) | |
qcacld: hdd: set the dfs_block_tx flag when bss kicks in
When start a BSS, in hdd_hostapd_open(), it indicates the
Kernel this interface is ON and all the tx queues are enabled.
But the dfs_tx_block flag is only set when we received the
eSAP_START_BSS_EVENT, in this case, when there are packets
forward to this interface, it would be sent out before we
set the dfs_tx_block flag.
Set the flag on when start a BSS to make sure no packets
would be sent out before the BSS is ready.
Change-Id: I9c9d4f8e0fe1038f0f812d73bbdc9c2a38e36c65
CRs-fixed: 784230
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 2 |
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 718f1ca31e72..79dd633b2752 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -7355,6 +7355,8 @@ static int wlan_hdd_cfg80211_start_bss(hdd_adapter_t *pHostapdAdapter, pSapEventCallback = hdd_hostapd_SAPEventCB; + (WLAN_HDD_GET_AP_CTX_PTR(pHostapdAdapter))->dfs_cac_block_tx = VOS_TRUE; + status = WLANSAP_StartBss( #ifdef WLAN_FEATURE_MBSSID WLAN_HDD_GET_SAP_CTX_PTR(pHostapdAdapter), |
