]> git.baikalelectronics.ru Git - kernel.git/commit
iwlegacy: fix BSSID setting
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 15 Mar 2012 10:42:49 +0000 (11:42 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Mar 2012 19:07:24 +0000 (15:07 -0400)
commit932a591744b7a9651a18ab843e6bb0117208c851
treef645afc60ba1ea9f33a9696b919de4c846aab484
parent4aad1fa87bf5f1135fd2e4d858d9b7f948b3b382
iwlegacy: fix BSSID setting

Current commit 21c3c2593ba910214ffdc21a95102637ed2d84f3
"mac80211: remove spurious BSSID change flag" exposed bug on iwlegacy,
that we do not set BSSID address correctly and then device was not able
to receive frames after successful associate.

On the way fix scan canceling comment. Apparently ->post_associate()
do cancel scan itself, but scan cancel on BSS_CHANGED_BSSID is needed.
I'm not sure why, but when I removed it, I had frequent auth failures:

 wlan4: send auth to 54:e6:fc:98:63:fe (try 1/3)
 wlan4: send auth to 54:e6:fc:98:63:fe (try 2/3)
 wlan4: send auth to 54:e6:fc:98:63:fe (try 3/3)
 wlan4: authentication with 54:e6:fc:98:63:fe timed out

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/common.c