aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath5k/base.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-02-02 23:53:10 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:33 -0500
commit406f2388cc1f6e6c176305bd325cef230ce1afdd (patch)
tree39b877344339b668ac19cbf4896e59fe978ca1a8 /drivers/net/wireless/ath5k/base.h
parent2c28b36275b53cfe380566c1810b3f500f7f4b5b (diff)
wireless: Fix WARN_ON() with ieee802.11b
When the driver registers a IEEE80211_BAND_2GHZ band, it can either be 802.11b or 802.11g. But when 802.11b rates are registered "want" will be 3 (since 4 rates are being registered, and each of those 4 rates will decrease "want"). Since this is a correct situation, there is no need to trigger a WARN_ON() for this. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k/base.h')
0 files changed, 0 insertions, 0 deletions