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
This commit is contained in:
Kiran Venkatappa
2016-12-20 11:30:46 +05:30
committed by qcabuildsw
parent 55d3a20bb9
commit 3ec0b30592

View File

@@ -716,7 +716,7 @@ fail1:
void void
htt_soc_detach(void *htt_soc) 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_htc_pkt_pool_free(soc);
HTT_TX_MUTEX_DESTROY(&soc->htt_tx_mutex); HTT_TX_MUTEX_DESTROY(&soc->htt_tx_mutex);