diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 13:04:28 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:56 -0400 |
commit | 4d4ce1ad02f02e593086fabdad69953ecbd99d9c (patch) | |
tree | 5078fd95311f19035152544bb0256d2eaf540d48 /drivers/net/wireless/libertas/cmdresp.c | |
parent | 27590d06e136167101c8c6347e7c2885c7f014b9 (diff) |
[PATCH] libertas: remove unused adapter->prev_XXXX variables
There were just used in some debug output, but nowhere else.
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/cmdresp.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index bf672f51f163..8e99c2de1835 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -65,18 +65,9 @@ void libertas_mac_event_disconnected(wlan_private * priv) | |||
65 | escape_essid(adapter->curbssparams.ssid, | 65 | escape_essid(adapter->curbssparams.ssid, |
66 | adapter->curbssparams.ssid_len), | 66 | adapter->curbssparams.ssid_len), |
67 | adapter->curbssparams.ssid_len); | 67 | adapter->curbssparams.ssid_len); |
68 | lbs_deb_cmd("previous SSID '%s', length %u\n", | ||
69 | escape_essid(adapter->prev_ssid, adapter->prev_ssid_len), | ||
70 | adapter->prev_ssid_len); | ||
71 | 68 | ||
72 | adapter->connect_status = LIBERTAS_DISCONNECTED; | 69 | adapter->connect_status = LIBERTAS_DISCONNECTED; |
73 | 70 | ||
74 | /* Save previous SSID and BSSID for possible reassociation */ | ||
75 | memcpy(&adapter->prev_ssid, &adapter->curbssparams.ssid, | ||
76 | IW_ESSID_MAX_SIZE); | ||
77 | adapter->prev_ssid_len = adapter->curbssparams.ssid_len; | ||
78 | memcpy(adapter->prev_bssid, adapter->curbssparams.bssid, ETH_ALEN); | ||
79 | |||
80 | /* Clear out associated SSID and BSSID since connection is | 71 | /* Clear out associated SSID and BSSID since connection is |
81 | * no longer valid. | 72 | * no longer valid. |
82 | */ | 73 | */ |