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
This commit is contained in:
Archana Ramachandran 2017-03-31 11:03:16 -07:00 • committed by snandini
commit 7498d374bc

View file

@ -9058,7 +9058,6 @@ static int __wlan_hdd_cfg80211_change_beacon(struct wiphy *wiphy,
struct hdd_context *hdd_ctx;
beacon_data_t *old, *new;
int status;
bool update_beacon;
ENTER();
@ -9106,11 +9105,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;