aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_main.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index 02ad6c648115..b42ee484a86f 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -1624,10 +1624,7 @@ static int wl1271_op_hw_scan(struct ieee80211_hw *hw,
1624 if (ret < 0) 1624 if (ret < 0)
1625 goto out; 1625 goto out;
1626 1626
1627 if (wl1271_11a_enabled()) 1627 ret = wl1271_scan(hw->priv, ssid, len, req);
1628 ret = wl1271_scan(hw->priv, ssid, len, req);
1629 else
1630 ret = wl1271_scan(hw->priv, ssid, len, req);
1631 1628
1632 wl1271_ps_elp_sleep(wl); 1629 wl1271_ps_elp_sleep(wl);
1633 1630