[PATCH] libertas: fix 'keep previous scan' behavior
authorDan Williams <dcbw@redhat.com>
Fri, 25 May 2007 20:25:21 +0000 (16:25 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:41 +0000 (14:28 -0400)
commiteb8f7330e7edf655176c51a62cd2e34de91a1eba
tree383f19fd3741a2f240c976ee7dc89368581ac1f0
parentfcdb53dbc743f288bf72e485fefb3a967b733686
[PATCH] libertas: fix 'keep previous scan' behavior

Do not clear the scan list except under specific conditions, such as
when (a) user-requested, or (b) joining/starting an adhoc network.
Furthermore, only clear entries which match the SSID or BSSID of the
request, not the whole scan list.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/assoc.c
drivers/net/wireless/libertas/debugfs.c
drivers/net/wireless/libertas/scan.c
drivers/net/wireless/libertas/scan.h
drivers/net/wireless/libertas/wext.c