mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Check return value during SAP global initialization
Check the return value during SAP global initialization to gracefully clean up the re-initialization in case of any error. Change-Id: I216146b4501606a536dffb5a859b43dd2d6989ff CRs-Fixed: 1031855
This commit is contained in:
parent
14ec97f448
commit
2e71e93707
1 changed files with 3 additions and 1 deletions
|
|
@ -1666,7 +1666,9 @@ QDF_STATUS hdd_wlan_re_init(void *hif_sc)
|
|||
pHddCtx->target_hw_version,
|
||||
pHddCtx->target_hw_name);
|
||||
#endif
|
||||
wlansap_global_init();
|
||||
qdf_status = wlansap_global_init();
|
||||
if (QDF_IS_STATUS_ERROR(qdf_status))
|
||||
goto err_cds_disable;
|
||||
|
||||
hddLog(LOGE,
|
||||
"%s: WLAN host driver reinitiation completed!", __func__);
|
||||
|
|
|
|||
Loading…
Reference in a new issue