From: Juuso Oikarinen Date: Thu, 8 Jul 2010 14:49:59 +0000 (+0300) Subject: wl1271: Use all basic rates for ps-poll, instead of just the slowest X-Git-Tag: v2.6.36-rc1~571^2~107^2~88 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=849923f43ca681cc86a401178db31acb60e79f3b;p=~shefty%2Frdma-dev.git wl1271: Use all basic rates for ps-poll, instead of just the slowest This improves ps-poll handling in WLAN PSM. It also improves performance, including WLAN-BT co-existence reliability. Signed-off-by: Juuso Oikarinen Reviewed-by: Teemu Paasikivi Signed-off-by: Luciano Coelho Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.c b/drivers/net/wireless/wl12xx/wl1271_cmd.c index 8307f21053f..834f7f8e9c7 100644 --- a/drivers/net/wireless/wl12xx/wl1271_cmd.c +++ b/drivers/net/wireless/wl12xx/wl1271_cmd.c @@ -703,7 +703,7 @@ int wl1271_cmd_build_ps_poll(struct wl1271 *wl, u16 aid) goto out; ret = wl1271_cmd_template_set(wl, CMD_TEMPL_PS_POLL, skb->data, - skb->len, 0, wl->basic_rate); + skb->len, 0, wl->basic_rate_set); out: dev_kfree_skb(skb);