diff --git a/[refs] b/[refs] index e588a593729e..9b1157873ad8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0bac71af6e66dc798bf07d0c0dd14ee5503362f9 +refs/heads/master: c72e8d335e2c6a309b6281f2abcf491f37b8b92b diff --git a/trunk/net/mac80211/main.c b/trunk/net/mac80211/main.c index d999bf3b84e1..cae443563ec9 100644 --- a/trunk/net/mac80211/main.c +++ b/trunk/net/mac80211/main.c @@ -757,6 +757,12 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) if (!local->int_scan_req) return -ENOMEM; + for (band = 0; band < IEEE80211_NUM_BANDS; band++) { + if (!local->hw.wiphy->bands[band]) + continue; + local->int_scan_req->rates[band] = (u32) -1; + } + /* if low-level driver supports AP, we also support VLAN */ if (local->hw.wiphy->interface_modes & BIT(NL80211_IFTYPE_AP)) { hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP_VLAN);