Staging: rtl8187se: Do not send NULL BSSID events when not associated
commit592010bb71901d991cd758f6294db2db47e8efa1
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 9 Apr 2010 22:33:19 +0000 (10 00:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:54 +0000 (11 11:35 -0700)
tree8b149118ede74d829cce119b22765ecb746929ec
parent3eec314fb26fc0e75c6f5d20f9b3d528ebf342d7
Staging: rtl8187se: Do not send NULL BSSID events when not associated

If we're not associated, we should not send wireless events to let userspace
know that we just left an ESSID, simply because we havent yet joined it.
If we keep on doing that, wpa_supplicant could receive such events while
actually trying to join an ESSID, and thus decide to stop trying. This leads
to a lot of connection failures as this driver seems to be sending GIWAP
events quite a lot.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c