diff options
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c index e6046901055a..77336c22fcf2 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c | |||
@@ -80,7 +80,7 @@ static void set_mandatory_flags_band(struct ieee80211_supported_band *sband, | |||
80 | sband->bitrates[i].flags |= | 80 | sband->bitrates[i].flags |= |
81 | IEEE80211_RATE_ERP_G; | 81 | IEEE80211_RATE_ERP_G; |
82 | } | 82 | } |
83 | WARN_ON(want != 0 && want != 6); | 83 | WARN_ON(want != 0 && want != 3 && want != 6); |
84 | break; | 84 | break; |
85 | case IEEE80211_NUM_BANDS: | 85 | case IEEE80211_NUM_BANDS: |
86 | WARN_ON(1); | 86 | WARN_ON(1); |