mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Avoid calling decrement session twice in SAP removal
While disabling SAP session, policy_mgr_decr_session_set_pcl() is getting called twice, one from mc_thread (hdd_hostapd_sap_ event_cb()) and other from hostapd (__wlan_hdd_cfg80211_stop _ap()). This can corrupt the pm_conn_connection_info table. This change removes policy_mgr_decr_session_set_pcl() getting called from hdd_hostapd_sap_event_cb(). Change-Id: Ib16af839060cb2dd3cb9f9957fd6dbb40c3b79dc CRs-Fixed: 2055025
This commit is contained in:
parent
b9353fe93a
commit
d6b76060c3
1 changed files with 0 additions and 3 deletions
|
|
@ -2138,9 +2138,6 @@ stopbss:
|
|||
we_custom_event_generic = we_custom_event;
|
||||
wireless_send_event(dev, we_event, &wrqu,
|
||||
(char *)we_custom_event_generic);
|
||||
policy_mgr_decr_session_set_pcl(pHddCtx->hdd_psoc,
|
||||
pHostapdAdapter->device_mode,
|
||||
pHostapdAdapter->sessionId);
|
||||
|
||||
/* once the event is set, structure dev/pHostapdAdapter should
|
||||
* not be touched since they are now subject to being deleted
|
||||
|
|
|
|||
Loading…
Reference in a new issue