mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "qcacmn: Fix the use of uninitialized variable in policy manager"
This commit is contained in:
commit
a75fdd8b0c
1 changed files with 2 additions and 1 deletions
|
|
@ -1715,7 +1715,7 @@ QDF_STATUS policy_mgr_get_channel_from_scan_result(
|
|||
struct wlan_objmgr_psoc *psoc,
|
||||
void *roam_profile, uint8_t *channel)
|
||||
{
|
||||
QDF_STATUS status;
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
void *scan_cache = NULL;
|
||||
struct policy_mgr_psoc_priv_obj *pm_ctx;
|
||||
|
||||
|
|
@ -1739,6 +1739,7 @@ QDF_STATUS policy_mgr_get_channel_from_scan_result(
|
|||
}
|
||||
} else {
|
||||
policy_mgr_err("sme_get_ap_channel_from_scan_cache NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (pm_ctx->sme_cbacks.sme_scan_result_purge)
|
||||
|
|
|
|||
Loading…
Reference in a new issue