]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rtl8187se: Do not send NULL BSSID events when not associated
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 9 Apr 2010 22:33:19 +0000 (00:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:54 +0000 (11:35 -0700)
commitbd7c9801d0a115a09e91fb61ecf0a38b38818b0e
tree8b149118ede74d829cce119b22765ecb746929ec
parent422652dee9e4923a4bc887ad3edbf5e6dab8a10f
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