summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKomal Kumar <kseelam@qti.qualcomm.com>2013-12-23 18:02:31 -0800
committerPrakash Dhavali <pdhavali@codeaurora.org>2014-01-16 21:46:18 -0800
commite78e36784003a2305dbddfcfc7ef0f9f01bdc3f3 (patch)
tree432d58b4da537e0c7b18546138a6975de9fd12c6
parentb82f3cd53057781d1ec68c9f3caa632e8c722f6b (diff)
CLD: Free IRQ during module unload in FTM Mode
Disable and Freeing of IRQ is moved from hif_pci_remove to hif_disable_isr, which is called from vos_stop. In FTM mode this was not handled. So this is handled in wlan_ftm_close. . Change-Id: Ia9cbb8985ffcdfeec78a41e53a9a1f9ad5d305d3 CRs-Fixed: 593332
-rw-r--r--CORE/HDD/src/wlan_hdd_ftm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_ftm.c b/CORE/HDD/src/wlan_hdd_ftm.c
index e1b60ee48236..f289717b724d 100644
--- a/CORE/HDD/src/wlan_hdd_ftm.c
+++ b/CORE/HDD/src/wlan_hdd_ftm.c
@@ -80,6 +80,7 @@
#include "ol_fw.h"
#include "testmode.h"
#include "wlan_hdd_cfg80211.h"
+#include "if_pci.h"
#endif
#define RXMODE_DISABLE_ALL 0
@@ -750,13 +751,14 @@ static VOS_STATUS wlan_ftm_vos_close( v_CONTEXT_t vosContext )
VOS_ASSERT( VOS_IS_STATUS_SUCCESS( vosStatus ) );
}
-#if defined(QCA_WIFI_2_0) && defined(QCA_WIFI_FTM)
+#if defined(QCA_WIFI_2_0) && defined(QCA_WIFI_FTM) && !defined(QCA_WIFI_ISOC)
if (gpVosContext->htc_ctx)
{
HTCStop(gpVosContext->htc_ctx);
HTCDestroy(gpVosContext->htc_ctx);
gpVosContext->htc_ctx = NULL;
}
+ hif_disable_isr(gpVosContext->pHIFContext);
#endif
vos_mq_deinit(&((pVosContextType)vosContext)->freeVosMq);