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)
commit9c3a8d99346040010a82ae8088b055f85cf8a2e9
tree5a72dcfdf9a55bf6a85a26931739e1070315b2ab
parent1d6146659ef7ae10263d490a9554ff0bfc7f6ecd
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 530abe19 (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