summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/debug.h
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2010-10-08 18:43:29 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-10-11 21:04:19 +0200
commit92c68a66a8f73c51f062ae8cae958c86a21fea78 (patch)
tree5bb9371f703dcec76ad27b067e1098c1fb5d3ee6 /drivers/net/wireless/ath/debug.h
parentwireless: Set some stats used by /proc/net/wireless (wext) (diff)
downloadlinux-92c68a66a8f73c51f062ae8cae958c86a21fea78.tar.xz
linux-92c68a66a8f73c51f062ae8cae958c86a21fea78.zip
ath5k: Print out opmode in debugfs.
Helps debug multi-VIF scenarios. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/debug.h')
-rw-r--r--drivers/net/wireless/ath/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/debug.h b/drivers/net/wireless/ath/debug.h
index fd3a020682dc..a3a5a628d24d 100644
--- a/drivers/net/wireless/ath/debug.h
+++ b/drivers/net/wireless/ath/debug.h
@@ -77,4 +77,7 @@ ath_print(struct ath_common *common, int dbg_mask, const char *fmt, ...)
}
#endif /* CONFIG_ATH_DEBUG */
+/** Returns string describing opmode, or NULL if unknown mode. */
+const char *ath_opmode_to_string(enum nl80211_iftype opmode);
+
#endif /* ATH_DEBUG_H */