summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-12-31 20:38:48 +0000
committersam <sam@FreeBSD.org>2004-12-31 20:38:48 +0000
commit11042819f1f98e2439af72f6080deeea3dd909c8 (patch)
tree70a6667c9f04894e3a36f53a22d4417c58f2bcf0 /sys/net80211
parent96c2d6273d1f9bfe8c4037a8cecfafc35103681e (diff)
downloadFreeBSD-src-11042819f1f98e2439af72f6080deeea3dd909c8.zip
FreeBSD-src-11042819f1f98e2439af72f6080deeea3dd909c8.tar.gz
expose ieee80211_phymode_name for use in debug msgs
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211.c2
-rw-r--r--sys/net80211/ieee80211_proto.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c
index d7e0122..4e37046 100644
--- a/sys/net80211/ieee80211.c
+++ b/sys/net80211/ieee80211.c
@@ -51,7 +51,7 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
-static const char *ieee80211_phymode_name[] = {
+const char *ieee80211_phymode_name[] = {
"auto", /* IEEE80211_MODE_AUTO */
"11a", /* IEEE80211_MODE_11A */
"11b", /* IEEE80211_MODE_11B */
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h
index f793f8e..3fa1398 100644
--- a/sys/net80211/ieee80211_proto.h
+++ b/sys/net80211/ieee80211_proto.h
@@ -51,6 +51,7 @@ enum ieee80211_state {
((*(_ic)->ic_send_mgmt)(_ic, _ni, _type, _arg))
extern const char *ieee80211_mgt_subtype_name[];
+extern const char *ieee80211_phymode_name[];
extern void ieee80211_proto_attach(struct ieee80211com *);
extern void ieee80211_proto_detach(struct ieee80211com *);
OpenPOWER on IntegriCloud