mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Stop HIF service before HTC cleanup
HIFStart is called from HTCWaitTarget in the vos_open function. If vos_open fails later, the HIFStop is not called to cleanup what is done in the HIFStart. This change fixes this issue. qcacld-2.0 to qcacld-3.0 propagation Git-commit:98808985fb6037c6f33af396aae38224f91c8b4d Change-Id: Id30f41d953e4582db57a98fff14e3f68447239f1 CRs-Fixed: 831608
This commit is contained in:
parent
f8511dcee4
commit
cbb555aa3f
1 changed files with 1 additions and 0 deletions
|
|
@ -277,6 +277,7 @@ void htc_destroy(HTC_HANDLE HTCHandle)
|
|||
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
|
||||
AR_DEBUG_PRINTF(ATH_DEBUG_TRC,
|
||||
("+htc_destroy .. Destroying :0x%p\n", target));
|
||||
hif_stop(htc_get_hif_device(HTCHandle));
|
||||
if (target)
|
||||
htc_cleanup(target);
|
||||
AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("-htc_destroy\n"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue