[MAC80211]: fix warnings introduced by the doc patches
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 18 Sep 2007 21:29:20 +0000 (17:29 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:30 +0000 (16:52 -0700)
commit693d454dffd43b2bab021d0e039a0c426181c1b0
tree134193ff1c30c371adc883a01fab395c411d9e79
parent6b301cdfad96daa3cf4f0d775ab408f898308890
[MAC80211]: fix warnings introduced by the doc patches

This fixes a warning about NUM_IEEE80211_MODES missing
in a switch statement. Intentionally do not add a default
case so we get warnings at these places if we need to add
new modes.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/util.c