diff options
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 6f8cb3ee6fed..af50895e4bb0 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -1291,6 +1291,11 @@ static int __init init_mac80211_hwsim(void) | |||
1291 | hw->wiphy->n_addresses = 2; | 1291 | hw->wiphy->n_addresses = 2; |
1292 | hw->wiphy->addresses = data->addresses; | 1292 | hw->wiphy->addresses = data->addresses; |
1293 | 1293 | ||
1294 | if (fake_hw_scan) { | ||
1295 | hw->wiphy->max_scan_ssids = 255; | ||
1296 | hw->wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN; | ||
1297 | } | ||
1298 | |||
1294 | hw->channel_change_time = 1; | 1299 | hw->channel_change_time = 1; |
1295 | hw->queues = 4; | 1300 | hw->queues = 4; |
1296 | hw->wiphy->interface_modes = | 1301 | hw->wiphy->interface_modes = |