Staging: rtl8192e: Do not send NULL BSSID events when not associated
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 10 Jun 2010 14:54:18 +0000 (16:54 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jun 2010 21:46:19 +0000 (14:46 -0700)
commitae67b584b40883cf63492b9df2b06c035da84780
tree0c23e5a4a5edf1ac56c9e89b8cb6dc707002c5dc
parent96bd55bd67de2dddb1d917b7631e23b86a8b1cd4
Staging: rtl8192e: 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/rtl8192e/ieee80211/ieee80211_softmac.c