summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_cmd.c
diff options
context:
space:
mode:
authorJuuso Oikarinen2010-08-10 06:38:36 +0200
committerLuciano Coelho2010-09-28 11:15:08 +0200
commit03f06b7efc8cbc666bd096b68bdf955388e0b323 (patch)
tree3f5c95edc8b2fe9159e638a6fcd3c8f6bd5eaf58 /drivers/net/wireless/wl12xx/wl1271_cmd.c
parentwl1271: Remove outdated FIXME's (diff)
downloadkernel-qcow2-linux-03f06b7efc8cbc666bd096b68bdf955388e0b323.tar.gz
kernel-qcow2-linux-03f06b7efc8cbc666bd096b68bdf955388e0b323.tar.xz
kernel-qcow2-linux-03f06b7efc8cbc666bd096b68bdf955388e0b323.zip
wl1271: Move setting of wake-up conditions to ps.c from cmd.c
This removes a fixme. Also, it removes a redundant setting of the wake-up conditions when exiting power save mode, which should improve performance. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_cmd.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_cmd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.c b/drivers/net/wireless/wl12xx/wl1271_cmd.c
index a338b1c93a29..a516035350d5 100644
--- a/drivers/net/wireless/wl12xx/wl1271_cmd.c
+++ b/drivers/net/wireless/wl12xx/wl1271_cmd.c
@@ -395,13 +395,6 @@ int wl1271_cmd_ps_mode(struct wl1271 *wl, u8 ps_mode, bool send)
struct wl1271_cmd_ps_params *ps_params = NULL;
int ret = 0;
- /* FIXME: this should be in ps.c */
- ret = wl1271_acx_wake_up_conditions(wl);
- if (ret < 0) {
- wl1271_error("couldn't set wake up conditions");
- goto out;
- }
-
wl1271_debug(DEBUG_CMD, "cmd set ps mode");
ps_params = kzalloc(sizeof(*ps_params), GFP_KERNEL);