]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: reconfigure sta rates on authorization
authorGuy Mishol <guym@ti.com>
Sun, 19 Jun 2016 14:08:58 +0000 (17:08 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 29 Jun 2016 16:03:16 +0000 (19:03 +0300)
commit93326573eb39bb0ac5a63bf3480c46abc979b3f8
treecf428e5de6df68f83a298b69081dc8ab98bcd516
parent31d1b0589f0f8b1370249be56f33b15fd46ec9c9
wlcore: reconfigure sta rates on authorization

Since stations can now be added before association
(NL80211_FEATURE_FULL_AP_CLIENT_STATE support),
no supported rates are set when the station is added
to the fw, resulting in fw recovery.

Fix it by first configuring the AP basic rates as
the station configured rates (when the station is
first added to the driver), and after the station
was authorized re-configure it, now with the actual
supported rates.

Signed-off-by: Guy Mishol <guym@ti.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/cmd.c
drivers/net/wireless/ti/wlcore/main.c