From 40667f32d10c501798fba462ffbb71d3afb5b763 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 5 Jan 2009 12:37:19 -0800 Subject: Staging: agnx: fix build errors due to ssid removal The wireless core has removed the ssid variables, so also remove them from the agnx driver so that it builds properly. Cc: Li YanBo Signed-off-by: Greg Kroah-Hartman --- drivers/staging/agnx/agnx.h | 2 -- drivers/staging/agnx/pci.c | 6 ------ 2 files changed, 8 deletions(-) (limited to 'drivers/staging') diff --git a/drivers/staging/agnx/agnx.h b/drivers/staging/agnx/agnx.h index 6f89b9bf796f..a75b0db3726c 100644 --- a/drivers/staging/agnx/agnx.h +++ b/drivers/staging/agnx/agnx.h @@ -115,8 +115,6 @@ struct agnx_priv { int mode; int channel; u8 bssid[ETH_ALEN]; - u8 ssid[32]; - size_t ssid_len; u8 mac_addr[ETH_ALEN]; u8 revid; diff --git a/drivers/staging/agnx/pci.c b/drivers/staging/agnx/pci.c index 2e3a8d30fa9d..80cccca974af 100644 --- a/drivers/staging/agnx/pci.c +++ b/drivers/staging/agnx/pci.c @@ -324,12 +324,6 @@ static int agnx_config_interface(struct ieee80211_hw *dev, sta_power_init(priv, BSSID_STAID); agnx_write32(ctl, AGNX_BM_MTSM, 0xff & ~0x1); } - if (conf->ssid_len != priv->ssid_len || - memcmp(conf->ssid, priv->ssid, conf->ssid_len)) { - agnx_set_ssid(priv, conf->ssid, conf->ssid_len); - priv->ssid_len = conf->ssid_len; - memcpy(priv->ssid, conf->ssid, conf->ssid_len); - } spin_unlock(&priv->lock); return 0; } /* agnx_config_interface */ -- cgit v1.2.1