iwlwifi: remove implicit direct scan
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Oct 2008 17:21:05 +0000 (18:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Nov 2008 20:10:17 +0000 (15:10 -0500)
commita57a59f247b651e8ed6d3eeb7e2f9d83b83134c9
treeb283875a57203461d9278e32ae9233687415c960
parent430cfe95a401baa0dc2022deaad02cb75d63c73c
iwlwifi: remove implicit direct scan

When an undirected scan is requested and iwlwifi is not associated but
the user has set an SSID (and maybe was associated with that network at
some point) then iwlwifi will assume the user wanted to scan for this
SSID which seems wrong. Remove this code.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-scan.c
drivers/net/wireless/iwlwifi/iwl3945-base.c