]> 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)
commitbeb7d860b91c851cb4604a675e0b2ac7ba489880
tree5a72dcfdf9a55bf6a85a26931739e1070315b2ab
parentb9e6f12d431417319f98ffc379dfa7d75128c88f
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 11ea6fd3 (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