diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-08-10 06:38:36 +0200 |
---|---|---|
committer | Luciano Coelho <luciano.coelho@nokia.com> | 2010-09-28 12:15:08 +0300 |
commit | 03f06b7efc8cbc666bd096b68bdf955388e0b323 (patch) | |
tree | 3f5c95edc8b2fe9159e638a6fcd3c8f6bd5eaf58 /drivers/net/wireless/wl12xx/wl1271_cmd.c | |
parent | 2f63b011b4a6d3c0572147be5756212f5558fff0 (diff) | |
download | op-kernel-dev-03f06b7efc8cbc666bd096b68bdf955388e0b323.zip op-kernel-dev-03f06b7efc8cbc666bd096b68bdf955388e0b323.tar.gz |
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.c | 7 |
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 a338b1c..a516035 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); |