mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Remove duplication of code in wlan_hdd_tdls_exit()
The propagation of the Change-ID I52c3e7b67c7f61160c54a1a6688db09f0137b7e1 has introduced duplication of the code in the function wlan_hdd_tdls_exit(). The change is to remove the duplicate code from this function. Change-Id: I50119396a98206b60c3d39f245a9fdf96fc0b695 CRs-Fixed: 2002676
This commit is contained in:
parent
8131859c9f
commit
960766f08e
1 changed files with 0 additions and 11 deletions
|
|
@ -853,17 +853,6 @@ void wlan_hdd_tdls_exit(hdd_adapter_t *pAdapter)
|
|||
return;
|
||||
}
|
||||
|
||||
pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);
|
||||
if (NULL == pHddTdlsCtx) {
|
||||
/* TDLS context can be null and might have been freed up during
|
||||
* cleanup for STA adapter
|
||||
*/
|
||||
hdd_info("pHddTdlsCtx is NULL, adapter device mode: %s(%d)",
|
||||
hdd_device_mode_to_string(pAdapter->device_mode),
|
||||
pAdapter->device_mode);
|
||||
goto done;
|
||||
}
|
||||
|
||||
cds_flush_delayed_work(&pHddCtx->tdls_scan_ctxt.tdls_scan_work);
|
||||
|
||||
mutex_lock(&pHddCtx->tdls_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue