PERFORCE change 114946 for review
Sam Leffler
sam at FreeBSD.org
Sat Feb 24 00:32:37 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114946
Change 114946 by sam at sam_ebb on 2007/02/24 00:31:52
explicitly define array size
Affected files ...
.. //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#67 edit
Differences ...
==== //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#67 (text+ko) ====
@@ -1625,7 +1625,7 @@
static struct ieee80211_channel *
findchannel(struct ieee80211com *ic, int ieee, int mode)
{
- static const u_int chanflags[] = {
+ static const u_int chanflags[IEEE80211_MODE_MAX] = {
0, /* IEEE80211_MODE_AUTO */
IEEE80211_CHAN_A, /* IEEE80211_MODE_11A */
IEEE80211_CHAN_B, /* IEEE80211_MODE_11B */
More information about the p4-projects
mailing list