Browse Source

qcacmn: Fix for crash during unload of driver modules

Fix a typo to use correct data structure in htt_soc_detach

Change-Id: Ifbb68ef99190899e46003a95d0577f5b0a33981a
CRs-Fixed: 1097695
Kiran Venkatappa 8 years ago
parent
commit
3ec0b30592
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dp/wifi3.0/dp_htt.c

+ 1 - 1
dp/wifi3.0/dp_htt.c

@@ -716,7 +716,7 @@ fail1:
 void
 htt_soc_detach(void *htt_soc)
 {
-	struct htt_soc *soc = (struct htt_soc *)soc;
+	struct htt_soc *soc = (struct htt_soc *)htt_soc;
 
 	htt_htc_pkt_pool_free(soc);
 	HTT_TX_MUTEX_DESTROY(&soc->htt_tx_mutex);