]> git.karo-electronics.de Git - karo-tx-linux.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)
commit01cac476a4bb07b5b6f205b15809e0a845574653
tree6fb5e8c8ad8f18dc72f8555781bed663733b810d
parent9df337a104ab99c595cc4ede2c917ba1c2b66374
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