Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203255
b: refs/heads/master
c: 8223d2f
h: refs/heads/master
i:
  203253: 91cac62
  203251: 256e9e5
  203247: eef3cec
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jun 18, 2010
1 parent 2a66818 commit bed07e3
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 2fcc9f731b598a6c70dca277776c66c9cf9d7a3b
refs/heads/master: 8223d2f540c96f46f762fbd93f59a08bb80601c1
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -1291,6 +1291,11 @@ static int __init init_mac80211_hwsim(void)
hw->wiphy->n_addresses = 2;
hw->wiphy->addresses = data->addresses;

if (fake_hw_scan) {
hw->wiphy->max_scan_ssids = 255;
hw->wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN;
}

hw->channel_change_time = 1;
hw->queues = 4;
hw->wiphy->interface_modes =
Expand Down

0 comments on commit bed07e3

Please sign in to comment.