summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-05-06 10:21:28 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-05-13 12:02:02 -0700
commit7a4e5281d1b3335a3dc90841415390473cccebf3 (patch)
treebc6731ec17596e5e5f90dc64f0472567971854ad /drivers/net/wireless/iwlwifi/iwl-agn.h
parent5065054790b111bf677b1eccf3f8f76f20cc0ae6 (diff)
downloadlinux-7a4e5281d1b3335a3dc90841415390473cccebf3.tar.gz
linux-7a4e5281d1b3335a3dc90841415390473cccebf3.tar.bz2
linux-7a4e5281d1b3335a3dc90841415390473cccebf3.zip
iwlagn: add testmode trace command
Adding testmode trace/debug capability Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.h b/drivers/net/wireless/iwlwifi/iwl-agn.h
index fc7dc0628316..2495fe7a58cb 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.h
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.h
@@ -343,6 +343,7 @@ extern int iwl_alive_start(struct iwl_priv *priv);
#ifdef CONFIG_IWLWIFI_DEVICE_SVTOOL
extern int iwl_testmode_cmd(struct ieee80211_hw *hw, void *data, int len);
extern void iwl_testmode_init(struct iwl_priv *priv);
+extern void iwl_testmode_cleanup(struct iwl_priv *priv);
#else
static inline
int iwl_testmode_cmd(struct ieee80211_hw *hw, void *data, int len)
@@ -353,6 +354,10 @@ static inline
void iwl_testmode_init(struct iwl_priv *priv)
{
}
+static inline
+void iwl_testmode_cleanup(struct iwl_priv *priv)
+{
+}
#endif
#endif /* __iwl_agn_h__ */