mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Reduce hif usb remove time when card surprise-removed
qcacld-2.0 to qcacld-3.0 propagation In USB solution, hif_usb_remove costs ~25s after card unplugged. Test step is simple, do p2p listen, then unplug card. Sme session close costs 15s. When do p2p listen, scan will be issued to fw, but this cmd is stuck in smeScanCmdActiveList which cause session close cmd eSmeCommandDelStaSession blocked and the timeout is 15s. This solution is that remove scan from smeScanCmdActiveList if scan cmd pending in active list when close session. Change-Id: I9f1af72cefe80dca056d7a23e015caa746952330 CRs-Fixed: 1068739 (cherry picked from commit b3460026a8ae119ac660b3970c9e3cc8b999656d)
This commit is contained in:
parent
9028d75166
commit
7f07073647
1 changed files with 3 additions and 0 deletions
|
|
@ -15708,6 +15708,9 @@ QDF_STATUS csr_roam_close_session(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||
purge_sme_session_cmd_list(pMac, sessionId,
|
||||
&pMac->sme.smeScanCmdPendingList);
|
||||
|
||||
purge_sme_session_cmd_list(pMac, sessionId,
|
||||
&pMac->sme.smeScanCmdActiveList);
|
||||
|
||||
purge_csr_session_cmd_list(pMac, sessionId);
|
||||
status = csr_issue_del_sta_for_session_req(pMac,
|
||||
sessionId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue