mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
Merge "qcacld-3.0: Fix clang warnings in P2P" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
a3406cb134
1 changed files with 5 additions and 2 deletions
|
|
@ -117,9 +117,12 @@ QDF_STATUS sme_remain_on_chn_rsp(tpAniSirGlobal pMac, uint8_t *pMsg)
|
|||
return status;
|
||||
|
||||
callback = pCommand->u.remainChlCmd.callback;
|
||||
if (callback)
|
||||
if (callback && rsp) {
|
||||
if (rsp->status != eSIR_SME_SUCCESS)
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
callback(pMac, pCommand->u.remainChlCmd.callbackCtx,
|
||||
rsp->status, rsp->scan_id);
|
||||
status, rsp->scan_id);
|
||||
}
|
||||
|
||||
fFound = csr_scan_active_ll_remove_entry(pMac, pEntry,
|
||||
LL_ACCESS_LOCK);
|
||||
|
|
|
|||
Loading…
Reference in a new issue