]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba49cb9297b80aac609b769789b9e862a87c7f71
tree0c23e5a4a5edf1ac56c9e89b8cb6dc707002c5dc
parenta556b6316a632b48f91d4a6be0d631f6568393ac
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