]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: configure rates in multiple cases
authorEliad Peller <eliad@wizery.com>
Tue, 7 May 2013 12:41:08 +0000 (15:41 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 17 Jun 2013 08:56:59 +0000 (11:56 +0300)
commit4a3eabe7885206d2dc383778e6469b751409f8dc
tree1600b05712c984ad2629f39e6b420d1472c20840
parenta5866e1d275b7ef1350da3a602c0a9b2419ddb79
wlcore: configure rates in multiple cases

The current code configures the peer caps only on BSS_CHANGED_HT
notification. However, we have to configure the peer caps
(and rates) even when HT is not enabled. Otherwise, the fw
continues working with low rates.

Configure the peer caps when sta_exists is true (i.e. when
we extracted the sta rates, e.g. on association).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c