mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Fix double peer clear during disconnect
wma_remove_peer does clear peer as part of disconnect. hdd_roam_deregister_sta also does clear peer which results in clear peer failed error message. Fix is to avoid clear peer again in disconnect handler. Change-Id: I0399a81779aad87201cb67e070421ec549b2d837 CRs-Fixed: 2019168
This commit is contained in:
parent
6e9dba15f9
commit
e345b66378
1 changed files with 0 additions and 9 deletions
|
|
@ -1682,15 +1682,6 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
|
|||
sme_remove_bssid_from_scan_list(pHddCtx->hHal,
|
||||
pHddStaCtx->conn_info.bssId.bytes);
|
||||
}
|
||||
/* We should clear all sta register with TL,
|
||||
* for now, only one.
|
||||
*/
|
||||
vstatus = hdd_roam_deregister_sta(pAdapter, sta_id);
|
||||
if (!QDF_IS_STATUS_SUCCESS(vstatus)) {
|
||||
hdd_err("hdd_roam_deregister_sta() failed to for staID %d. Status= %d [0x%x]",
|
||||
sta_id, status, status);
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
pHddCtx->sta_to_adapter[sta_id] = NULL;
|
||||
}
|
||||
/* Clear saved connection information in HDD */
|
||||
|
|
|
|||
Loading…
Reference in a new issue