]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: fix wrong remote rates when starting STA role
authorLuciano Coelho <coelho@ti.com>
Thu, 7 Feb 2013 09:35:33 +0000 (11:35 +0200)
committerLuciano Coelho <coelho@ti.com>
Fri, 8 Feb 2013 08:20:16 +0000 (10:20 +0200)
commit4752cff19830a2874c8f099ddd84f1ddbd285647
tree5a72dcfdf9a55bf6a85a26931739e1070315b2ab
parentb6feee0df2f6ca4fc2e912a2838eb25904bc9219
wlcore: fix wrong remote rates when starting STA role

In wl18xx, we use a new ACX command in order to set the remote
supported rates, once we know it (ie. after association).  The wl12xx
firmware doesn't support changing the rates after the STA is started,
so we need to use all supported rates.

Commit 7405105d (wlcore: add ACX_PEER_CAP command) broke that by using
wlvif->rate_set when starting the STA role.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/cmd.c