diff options
author | Daniel Drake <dsd@laptop.org> | 2011-09-21 18:43:59 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-27 14:34:01 -0400 |
commit | b4c3f34afffcab01b6eb5155399a0b85b1123ada (patch) | |
tree | 9019bab4db3f53b9029b787704e2cbd19a742af6 /drivers/net/wireless/libertas/dev.h | |
parent | 38ba3c57af1c737966fb58bcbeecdc71f5f4fa90 (diff) | |
download | op-kernel-dev-b4c3f34afffcab01b6eb5155399a0b85b1123ada.zip op-kernel-dev-b4c3f34afffcab01b6eb5155399a0b85b1123ada.tar.gz |
libertas: scan behaviour consistency improvements
When scanning for the broadcast SSID, there is no need to add the
SSID TLV (restoring the behaviour of the driver behaviour in the wext
days, confirmed in Marvell specifications).
If bssid is unspecified, the current scan code will usually fire off an
active scan probing for the specific requested SSID. However, if a scan
is ongoing (or has just finished), those scan results will be used
instead (even if that scan is totally different, e.g. a passive scan on
channel 4 for a different SSID). Fix this inconsistency by always
firing off a scan when associating without a bssid.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index b9ff0dc..fb3e40b 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h @@ -179,7 +179,6 @@ struct lbs_private { wait_queue_head_t scan_q; /* Whether the scan was initiated internally and not by cfg80211 */ bool internal_scan; - unsigned long last_scan; }; extern struct cmd_confirm_sleep confirm_sleep; |