From cbb555aa3fcd0f3daa4ba9c4c9150f37037badfb Mon Sep 17 00:00:00 2001 From: Karthick S Date: Wed, 14 Oct 2015 17:56:55 +0530 Subject: [PATCH] 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 --- core/htc/htc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/htc/htc.c b/core/htc/htc.c index 607e825e0b31..967c7c24d028 100644 --- a/core/htc/htc.c +++ b/core/htc/htc.c @@ -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"));