diff options
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 097ece8b5c02..6a33f0b4d839 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -1800,7 +1800,7 @@ int ieee80211_if_add(struct ieee80211_local *local, const char *name, | |||
1800 | INIT_DELAYED_WORK(&sdata->dec_tailroom_needed_wk, | 1800 | INIT_DELAYED_WORK(&sdata->dec_tailroom_needed_wk, |
1801 | ieee80211_delayed_tailroom_dec); | 1801 | ieee80211_delayed_tailroom_dec); |
1802 | 1802 | ||
1803 | for (i = 0; i < IEEE80211_NUM_BANDS; i++) { | 1803 | for (i = 0; i < NUM_NL80211_BANDS; i++) { |
1804 | struct ieee80211_supported_band *sband; | 1804 | struct ieee80211_supported_band *sband; |
1805 | sband = local->hw.wiphy->bands[i]; | 1805 | sband = local->hw.wiphy->bands[i]; |
1806 | sdata->rc_rateidx_mask[i] = | 1806 | sdata->rc_rateidx_mask[i] = |