From 0757caeff0a748cabc182958a6cb355755c8843a Mon Sep 17 00:00:00 2001 From: c_priys Date: Tue, 30 Jan 2018 15:02:11 +0530 Subject: [PATCH] qcacmn: Initialize wifi_core_id to default value During device reset, wifi_core_id will not be initialized if the target is not in ready state. Hence assigning default value to it. Change-Id: I91f3f640ed9252351cb82fbde2515c9308992635 CRs-Fixed: 2180836 --- hif/src/snoc/if_ahb_reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hif/src/snoc/if_ahb_reset.c b/hif/src/snoc/if_ahb_reset.c index a6f13bfdcf37..cba3c17ab140 100644 --- a/hif/src/snoc/if_ahb_reset.c +++ b/hif/src/snoc/if_ahb_reset.c @@ -277,7 +277,7 @@ void hif_ahb_device_reset(struct hif_softc *scn) uint32_t haltreq_offset; uint32_t haltack_offset; void __iomem *mem_tcsr; - uint32_t wifi_core_id; + uint32_t wifi_core_id = 0XFFFFFFFF; uint32_t reg_value; int wait_limit = ATH_AHB_RESET_WAIT_MAX;