Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6e22a855b27ddc0725c134cc428ee668e56ac9f8
Commit:     6e22a855b27ddc0725c134cc428ee668e56ac9f8
Parent:     fdde7084e033263f48d26d5b24ecf626aed29b5b
Author:     Holger Schurig <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 2 13:05:32 2007 -0400
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:49:58 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/libertas/assoc.c |    6 ++----
 drivers/net/wireless/libertas/dev.h   |    1 -
 drivers/net/wireless/libertas/main.c  |    2 --
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/drivers/net/wireless/libertas/assoc.c 
b/drivers/net/wireless/libertas/assoc.c
index 5fdc96f..ffeec2f 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);
diff --git a/drivers/net/wireless/libertas/dev.h 
b/drivers/net/wireless/libertas/dev.h
index 765c0c4..83876a3 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -288,7 +288,6 @@ struct _wlan_adapter {
        u32 rtsthsd;
 
        u16 listeninterval;
-       u16 prescan;
        u8 txretrycount;
 
        /** Tx-related variables (for single packet tx) */
diff --git a/drivers/net/wireless/libertas/main.c 
b/drivers/net/wireless/libertas/main.c
index 5b4a134..e354ebb 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -1037,8 +1037,6 @@ static void wlan_init_adapter(wlan_private * priv)
 
        mutex_init(&adapter->lock);
 
-       adapter->prescan = 1;
-
        memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams));
        adapter->curbssparams.channel = DEFAULT_AD_HOC_CHANNEL;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to