diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 13:05:32 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:49:58 -0700 |
commit | 6e22a855b27ddc0725c134cc428ee668e56ac9f8 (patch) | |
tree | 8edfdf69eb5aecc10a358c2ea66e782614d85c78 /drivers/net/wireless/libertas/assoc.c | |
parent | fdde7084e033263f48d26d5b24ecf626aed29b5b (diff) | |
download | linux-6e22a855b27ddc0725c134cc428ee668e56ac9f8.tar.gz linux-6e22a855b27ddc0725c134cc428ee668e56ac9f8.tar.bz2 linux-6e22a855b27ddc0725c134cc428ee668e56ac9f8.zip |
[PATCH] libertas: remove adapter->prescan
The value 1 was assigned to it and there was nowhere any code
that would have changed that to 0.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/assoc.c')
-rw-r--r-- | drivers/net/wireless/libertas/assoc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c index 5fdc96f289b8..ffeec2fa60ae 100644 --- a/drivers/net/wireless/libertas/assoc.c +++ b/drivers/net/wireless/libertas/assoc.c @@ -57,10 +57,8 @@ static int assoc_helper_essid(wlan_private *priv, lbs_deb_assoc("New SSID requested: '%s'\n", escape_essid(assoc_req->ssid, assoc_req->ssid_len)); if (assoc_req->mode == IW_MODE_INFRA) { - if (adapter->prescan) { - libertas_send_specific_ssid_scan(priv, assoc_req->ssid, - assoc_req->ssid_len, 0); - } + libertas_send_specific_ssid_scan(priv, assoc_req->ssid, + assoc_req->ssid_len, 0); bss = libertas_find_ssid_in_list(adapter, assoc_req->ssid, assoc_req->ssid_len, NULL, IW_MODE_INFRA, channel); |