summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmdresp.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 19:04:28 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:49:56 +0200
commit4d4ce1ad02f02e593086fabdad69953ecbd99d9c (patch)
tree5078fd95311f19035152544bb0256d2eaf540d48 /drivers/net/wireless/libertas/cmdresp.c
parent[PATCH] add support for Marvell 8385 CF cards (diff)
downloadlinux-4d4ce1ad02f02e593086fabdad69953ecbd99d9c.tar.xz
linux-4d4ce1ad02f02e593086fabdad69953ecbd99d9c.zip
[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.c9
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)
escape_essid(adapter->curbssparams.ssid,
adapter->curbssparams.ssid_len),
adapter->curbssparams.ssid_len);
- lbs_deb_cmd("previous SSID '%s', length %u\n",
- escape_essid(adapter->prev_ssid, adapter->prev_ssid_len),
- adapter->prev_ssid_len);
adapter->connect_status = LIBERTAS_DISCONNECTED;
- /* Save previous SSID and BSSID for possible reassociation */
- memcpy(&adapter->prev_ssid, &adapter->curbssparams.ssid,
- IW_ESSID_MAX_SIZE);
- adapter->prev_ssid_len = adapter->curbssparams.ssid_len;
- memcpy(adapter->prev_bssid, adapter->curbssparams.bssid, ETH_ALEN);
-
/* Clear out associated SSID and BSSID since connection is
* no longer valid.
*/