aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-08-14 06:17:13 -0400
committerLuciano Coelho <coelho@ti.com>2011-08-22 05:35:25 -0400
commitf42bd2cbf1d5ff4b161ad2c59ff12d66558c8374 (patch)
tree176aa240047915b52101e8c1b01b3af216da7703 /drivers/net/wireless/wl12xx/main.c
parent154037d1681caaff7d33521b84017ee58b396438 (diff)
wl12xx: use wl1271_acx_beacon_filter_opt for both sta and ap
Use ACX_BEACON_FILTER_OPT for both station and ap roles (use the generic wl1271_acx_beacon_filter_opt() instead of wl1271_acx_set_ap_beacon_filter() ). Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r--drivers/net/wireless/wl12xx/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 1389c5cba343..d683bca9b308 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1639,7 +1639,7 @@ static int wl1271_configure_suspend_ap(struct wl1271 *wl)
1639 if (ret < 0) 1639 if (ret < 0)
1640 goto out_unlock; 1640 goto out_unlock;
1641 1641
1642 ret = wl1271_acx_set_ap_beacon_filter(wl, true); 1642 ret = wl1271_acx_beacon_filter_opt(wl, true);
1643 1643
1644 wl1271_ps_elp_sleep(wl); 1644 wl1271_ps_elp_sleep(wl);
1645out_unlock: 1645out_unlock:
@@ -1677,7 +1677,7 @@ static void wl1271_configure_resume(struct wl1271 *wl)
1677 wl1271_ps_set_mode(wl, STATION_ACTIVE_MODE, 1677 wl1271_ps_set_mode(wl, STATION_ACTIVE_MODE,
1678 wl->basic_rate, true); 1678 wl->basic_rate, true);
1679 } else if (is_ap) { 1679 } else if (is_ap) {
1680 wl1271_acx_set_ap_beacon_filter(wl, false); 1680 wl1271_acx_beacon_filter_opt(wl, false);
1681 } 1681 }
1682 1682
1683 wl1271_ps_elp_sleep(wl); 1683 wl1271_ps_elp_sleep(wl);