summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiva Mullati <smullati@codeaurora.org>2017-01-17 15:20:19 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-29 22:02:47 -0800
commit124b686ccdb82d6e20b9c523213521dacfffb68a (patch)
tree60a8d853d2f9717b4a5507ca5749a8bf0f804ff0
parentc689af5fa131279d785f3eaec54f5fab5b86bc98 (diff)
qcacld-2.0: Send deauth upon p2p_group_remove from supplicant
In current CLD-2.0 code, upon receiving del_station from supplicant, host driver is sending disassoc and deauth both to avoid some IOT issues. Driver is sending disassoc frame first then sending deauth, by the time it disassoc sta entry gets deleted because of which deauth frame is not going out. Fix is to send deauth upon receiving del_station request. Change-Id: Ie958fa3dcc43c69b2be3b3f9d56f6ba23488edaa CRs-Fixed: 1112283
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index a23c50d2254b..04498e1d364d 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -24335,7 +24335,6 @@ static int __wlan_hdd_cfg80211_del_station(struct wiphy *wiphy,
/* Send disassoc and deauth both to avoid some IOT issues */
vos_event_reset(&pHostapdState->sta_disassoc_event);
- hdd_softap_sta_disassoc(pAdapter, pDelStaParams);
vos_status = hdd_softap_sta_deauth(pAdapter, pDelStaParams);
if (VOS_IS_STATUS_SUCCESS(vos_status)) {
@@ -24346,6 +24345,7 @@ static int __wlan_hdd_cfg80211_del_station(struct wiphy *wiphy,
hddLog(VOS_TRACE_LEVEL_ERROR,
"!!%s: ERROR: Deauth wait expired!!", __func__);
}
+ hdd_softap_sta_disassoc(pAdapter, pDelStaParams);
}
}
} else {