mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Fix incorrect conditional statement in wma_start_extscan
In wma_start_extscan, it will always return error due to an incorrect conditional statement. Change-Id: Iddb81e34a59ff541d4a17e45b8eca13e704fb89d CRs-Fixed: 2450704
This commit is contained in:
parent
b835e32d11
commit
afd51828ff
1 changed files with 2 additions and 1 deletions
|
|
@ -4870,9 +4870,10 @@ QDF_STATUS wma_start_extscan(tp_wma_handle wma,
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (!params)
|
||||
if (!params) {
|
||||
wma_err("NULL param");
|
||||
return QDF_STATUS_E_NOMEM;
|
||||
}
|
||||
|
||||
status = wmi_unified_start_extscan_cmd(wma->wmi_handle, params);
|
||||
if (QDF_IS_STATUS_SUCCESS(status))
|
||||
|
|
|
|||
Loading…
Reference in a new issue