mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Check sap restart after updated active session
When do re-association, there is obsolete data exists in policy manager until hdd_association_completion_handler updates the active session. If check sap restart before this, will access the wrong data. Change-Id: Ie62f86a5d523e70b6bb81b500bd358b63ae90ea8 CRs-Fixed: 2231675
This commit is contained in:
parent
b1b4bba465
commit
064ebd4a01
1 changed files with 3 additions and 4 deletions
|
|
@ -2913,10 +2913,6 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
hdd_debug("check for SAP restart");
|
||||
policy_mgr_check_concurrent_intf_and_restart_sap(
|
||||
hdd_ctx->hdd_psoc);
|
||||
|
||||
DPTRACE(qdf_dp_trace_mgmt_pkt(QDF_DP_TRACE_MGMT_PACKET_RECORD,
|
||||
adapter->session_id,
|
||||
QDF_TRACE_DEFAULT_PDEV_ID,
|
||||
|
|
@ -3286,6 +3282,9 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
|
|||
qdf_mem_zero(&adapter->hdd_stats.hdd_pmf_stats,
|
||||
sizeof(adapter->hdd_stats.hdd_pmf_stats));
|
||||
#endif
|
||||
hdd_debug("check for SAP restart");
|
||||
policy_mgr_check_concurrent_intf_and_restart_sap(
|
||||
hdd_ctx->hdd_psoc);
|
||||
} else {
|
||||
bool connect_timeout = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue