mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Fix to Wait for TDLS discovery request/response tx completion
qcacld-2.0 to qcacld-3.0 propagation Currently, we are not waiting for tdls_mgmt_comp since supplicant doesn't consider return status but if discvery request/response are sent and mgmtTxCompletionStatus is not set to return status from FW then next consecutive TDLS request's from supplicant are denied which will lead to TDLS connection failure. Fix is to wait for tdls_mgmt_comp for TDLS discover request/response and then return success/failure status to supplicant. Change-Id: I5e825b615095231412f3a82367babaa89e1ab5b3 CRs-Fixed: 973947
This commit is contained in:
parent
f78bd2d501
commit
855607a147
1 changed files with 0 additions and 11 deletions
|
|
@ -4032,17 +4032,6 @@ static int __wlan_hdd_cfg80211_tdls_mgmt(struct wiphy *wiphy,
|
|||
}
|
||||
mutex_unlock(&pHddCtx->tdls_lock);
|
||||
}
|
||||
|
||||
|
||||
if ((SIR_MAC_TDLS_DIS_REQ == action_code) ||
|
||||
(SIR_MAC_TDLS_DIS_RSP == action_code)) {
|
||||
/* for DIS_REQ/DIS_RSP, supplicant does not consider the return
|
||||
* status. So no need to wait for tdls_mgmt_comp to
|
||||
* send ack status.
|
||||
*/
|
||||
hdd_info("tx done for frm %u", action_code);
|
||||
return 0;
|
||||
}
|
||||
hdd_info("Wait for tdls_mgmt_comp. Timeout %u ms",
|
||||
WAIT_TIME_TDLS_MGMT);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue