From: Ivo van Doorn Date: Sat, 2 Feb 2008 22:53:10 +0000 (+0100) Subject: wireless: Fix WARN_ON() with ieee802.11b X-Git-Tag: v2.6.26-rc1~1138^2~530^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=406f2388cc1f6e6c176305bd325cef230ce1afdd;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed