aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorWinkler, Tomas <tomas.winkler@intel.com>2008-11-07 12:58:43 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:07:23 -0500
commitcb299bae8929705bf025fdbd6ce0ffcc62f5b3d0 (patch)
tree1e113d5a843dc2b0922c5456684787da6f7e2203 /drivers/net/wireless/iwlwifi/iwl-dev.h
parente720ce9d15050d06e5162d5f70b133caccd64258 (diff)
iwlwifi: move iwl_print_hex_dump to iwl-debug.h
This patch moves iwl_print_hex_dump to iwl-debug.h where it belongs Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index c36096069bfd..bd3df55e4953 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1089,23 +1089,6 @@ static inline int is_channel_ibss(const struct iwl_channel_info *ch)
1089 return ((ch->flags & EEPROM_CHANNEL_IBSS)) ? 1 : 0; 1089 return ((ch->flags & EEPROM_CHANNEL_IBSS)) ? 1 : 0;
1090} 1090}
1091 1091
1092#ifdef CONFIG_IWLWIFI_DEBUG
1093static inline void iwl_print_hex_dump(struct iwl_priv *priv, int level,
1094 void *p, u32 len)
1095{
1096 if (!(priv->debug_level & level))
1097 return;
1098
1099 print_hex_dump(KERN_DEBUG, "iwl data: ", DUMP_PREFIX_OFFSET, 16, 1,
1100 p, len, 1);
1101}
1102#else
1103static inline void iwl_print_hex_dump(struct iwl_priv *priv, int level,
1104 void *p, u32 len)
1105{
1106}
1107#endif
1108
1109extern const struct iwl_channel_info *iwl_get_channel_info( 1092extern const struct iwl_channel_info *iwl_get_channel_info(
1110 const struct iwl_priv *priv, enum ieee80211_band band, u16 channel); 1093 const struct iwl_priv *priv, enum ieee80211_band band, u16 channel);
1111 1094