]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Fix BSS update on roaming
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 19 Sep 2011 16:14:59 +0000 (19:14 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 22 Sep 2011 07:07:58 +0000 (10:07 +0300)
commit0515f76eaa5dbb02ec680636bed5a4c8c9dbb851
tree6fb5e8c8ad8f18dc72f8555781bed663733b810d
parent0481d9b5157ada04e236c089a32a08a408b06dce
ath6kl: Fix BSS update on roaming

This fixes the BSS "update" just before the connected or roamed event.
The previous implementation was completely broken: it forced a hardcoded
signal strength and IEs from Association _Request_ frame instead of any
Beacon information. This broke various things, including PMKSA caching.

The current workaround for creating a dummy BSS entry before the roamed
event is not exactly ideal, but that is quite a bit better than the
previous state. As a future improvement, cfg80211 could potentially be
extended to allow this type of use or ath6kl could delay sending the
roamed event before receiving a BSS info event.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c