Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276430
b: refs/heads/master
c: c72e8d3
h: refs/heads/master
v: v3
  • Loading branch information
Simon Wunderlich authored and John W. Linville committed Nov 30, 2011
1 parent 77fefb8 commit d7e6cb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0bac71af6e66dc798bf07d0c0dd14ee5503362f9
refs/heads/master: c72e8d335e2c6a309b6281f2abcf491f37b8b92b
6 changes: 6 additions & 0 deletions trunk/net/mac80211/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d7e6cb6

Please sign in to comment.