diff options
Diffstat (limited to 'drivers/net/wireless/libertas/scan.c')
-rw-r--r-- | drivers/net/wireless/libertas/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c index 33ee459315a9..4f621a6ec976 100644 --- a/drivers/net/wireless/libertas/scan.c +++ b/drivers/net/wireless/libertas/scan.c | |||
@@ -252,7 +252,7 @@ static void wlan_scan_create_channel_list(wlan_private * priv, | |||
252 | * be changed to passive on a per channel basis if restricted by | 252 | * be changed to passive on a per channel basis if restricted by |
253 | * regulatory requirements (11d or 11h) | 253 | * regulatory requirements (11d or 11h) |
254 | */ | 254 | */ |
255 | scantype = adapter->scantype; | 255 | scantype = CMD_SCAN_TYPE_ACTIVE; |
256 | 256 | ||
257 | for (rgnidx = 0; rgnidx < ARRAY_SIZE(adapter->region_channel); rgnidx++) { | 257 | for (rgnidx = 0; rgnidx < ARRAY_SIZE(adapter->region_channel); rgnidx++) { |
258 | if (priv->adapter->enable11d && | 258 | if (priv->adapter->enable11d && |