rtlwifi: rtl8192cu: Fix problem that prevents reassociation
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 13 Mar 2013 15:28:13 +0000 (10:28 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Mar 2013 18:18:53 +0000 (14:18 -0400)
commit9437a248e7cac427c898bdb11bd1ac6844a1ead4
treeffb975cba7c782c65d1e89353a138c29e91531d8
parent5818a46a999ad9546e68e8765a3ca1d9d87f9b4a
rtlwifi: rtl8192cu: Fix problem that prevents reassociation

The driver was failing to clear the BSSID when a disconnect happened. That
prevented a reconnection. This problem is reported at
https://bugzilla.redhat.com/show_bug.cgi?id=789605,
https://bugzilla.redhat.com/show_bug.cgi?id=866786,
https://bugzilla.redhat.com/show_bug.cgi?id=906734, and
https://bugzilla.kernel.org/show_bug.cgi?id=46171.

Thanks to Jussi Kivilinna for making the critical observation
that led to the solution.

Reported-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Tested-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Tested-by: Alessandro Lannocca <alessandro.lannocca@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192cu/hw.c