summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Gao <wugao@codeaurora.org>2017-05-23 18:53:36 +0800
committernshrivas <nshrivas@codeaurora.org>2019-07-10 22:43:45 -0700
commitdff06b11aae3172e905bee5764956a091958f1ff (patch)
treed38a99831646794015cb61ebb9d91a65352cada6
parent9147d6680fac84a4bf3a7e4dda57ca0b5b869fbc (diff)
qcacld-3.0: close session for P2P GO properly
It will clean session id at then end of cfg80211 stop ap and won't set flag SME_SESSION_OPENED after sap session started, which case session for P2P GO can't be closed properly. Change-Id: I0c6f21f3616ededd9e827b3eac9cbbe2c26bc60c CRs-Fixed: 2050994
-rw-r--r--core/hdd/src/wlan_hdd_hostapd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index e7b33031fdc1..2ecf57684c63 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -8919,7 +8919,6 @@ static int __wlan_hdd_cfg80211_stop_ap(struct wiphy *wiphy,
global_p2p_connection_status = P2P_NOT_ACTIVE;
}
#endif
- pAdapter->sessionId = HDD_SESSION_ID_INVALID;
wlan_hdd_check_conc_and_update_tdls_state(pHddCtx, false);
EXIT();
return ret;