]> 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)
commit6e02ecd6558f985d9517ceec436f157a8a3d0a52
treef645afc60ba1ea9f33a9696b919de4c846aab484
parent1a7231a7d1989c2b105d4cd0edf9e555a006a44c
iwlegacy: fix BSSID setting

Current commit 7c3e6edf30e7490c6b73e535c451f05db400655d
"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