summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-05-12 00:34:28 +0000
committersam <sam@FreeBSD.org>2008-05-12 00:34:28 +0000
commitd9c0a1e65f0ca5fcb5b3d286c8ae5ce3a9e1c519 (patch)
tree9ce9d9f387d7431979517bb57259ed26266c41a6 /sys/net80211
parent84c4dbca4f8c896454fea4783d326b6ae762c495 (diff)
downloadFreeBSD-src-d9c0a1e65f0ca5fcb5b3d286c8ae5ce3a9e1c519.zip
FreeBSD-src-d9c0a1e65f0ca5fcb5b3d286c8ae5ce3a9e1c519.tar.gz
declare ieee80211_phymode_name with an array size
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h
index 9ec94f7..6d617fd 100644
--- a/sys/net80211/ieee80211_proto.h
+++ b/sys/net80211/ieee80211_proto.h
@@ -48,7 +48,7 @@ enum ieee80211_state {
((*(_ni)->ni_ic->ic_send_mgmt)(_ni, _type, _arg))
extern const char *ieee80211_mgt_subtype_name[];
-extern const char *ieee80211_phymode_name[];
+extern const char *ieee80211_phymode_name[IEEE80211_MODE_MAX];
extern const int ieee80211_opcap[IEEE80211_OPMODE_MAX];
void ieee80211_proto_attach(struct ieee80211com *);
OpenPOWER on IntegriCloud