diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-05-24 04:18:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-02 16:13:36 -0400 |
commit | 5da54f94992b35fd58ad5b569abe8ca04048f8f1 (patch) | |
tree | 312be199a18ac0f04e0045fe628791f7175bbd18 /drivers/net/wireless/wl12xx | |
parent | f820bc19af2afd34182e66ce9877d9fb87acef6a (diff) |
wl1271: Use proper rates for PSM entry/exit null-funcs for 5GHz
A fixed 1 mbps rate was used for the PSM entry/exit null-func frames. Fix this
by using the basic rates instead.
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.c b/drivers/net/wireless/wl12xx/wl1271_cmd.c index 05b6d8a4aea2..dcad42ccc9d4 100644 --- a/drivers/net/wireless/wl12xx/wl1271_cmd.c +++ b/drivers/net/wireless/wl12xx/wl1271_cmd.c | |||
@@ -518,7 +518,7 @@ int wl1271_cmd_ps_mode(struct wl1271 *wl, u8 ps_mode, bool send) | |||
518 | ps_params->send_null_data = send; | 518 | ps_params->send_null_data = send; |
519 | ps_params->retries = 5; | 519 | ps_params->retries = 5; |
520 | ps_params->hang_over_period = 1; | 520 | ps_params->hang_over_period = 1; |
521 | ps_params->null_data_rate = cpu_to_le32(1); /* 1 Mbps */ | 521 | ps_params->null_data_rate = cpu_to_le32(wl->basic_rate_set); |
522 | 522 | ||
523 | ret = wl1271_cmd_send(wl, CMD_SET_PS_MODE, ps_params, | 523 | ret = wl1271_cmd_send(wl, CMD_SET_PS_MODE, ps_params, |
524 | sizeof(*ps_params), 0); | 524 | sizeof(*ps_params), 0); |