summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchana Ramachandran <archanar@codeaurora.org>2017-03-31 11:03:16 -0700
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-31 22:40:06 -0700
commitae388942ccbb52468d9a2c6fb92ee1d34c8cc9f4 (patch)
tree94956c63a298194ebf0c2550f5bc004d744ecff8
parent7f582dcba3e7c1d17dddb9c80ab232862c638c2b (diff)
qcacld-3.0: Allow beacon/probe resp update for SAP during connection
Host driver is ignoring beacon/probe response update for SAP before 4-way handshakes completed. Due to this beacon/probe response is not updated with the latest updates from the userspace. This can lead to re-connection failure/delay after disconnect. Change-Id: I3a735a2c867c4cfac9662551221fbf22d5afb29d CRs-Fixed: 2027658
-rw-r--r--core/hdd/src/wlan_hdd_hostapd.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index aea8bfad19b7..bb1ffab05deb 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -8432,7 +8432,6 @@ static int __wlan_hdd_cfg80211_change_beacon(struct wiphy *wiphy,
hdd_context_t *pHddCtx;
beacon_data_t *old, *new;
int status;
- bool update_beacon;
ENTER();
@@ -8480,11 +8479,9 @@ static int __wlan_hdd_cfg80211_change_beacon(struct wiphy *wiphy,
}
pAdapter->sessionCtx.ap.beacon = new;
- update_beacon = (pAdapter->device_mode ==
- QDF_P2P_GO_MODE) ? true : false;
- hdd_debug("update beacon for P2P GO: %d", update_beacon);
+ hdd_debug("update beacon for P2P GO/SAP");
status = wlan_hdd_cfg80211_start_bss(pAdapter, params, NULL,
- 0, 0, false, update_beacon);
+ 0, 0, false, true);
EXIT();
return status;