diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-05 12:37:19 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:09 -0800 |
commit | 40667f32d10c501798fba462ffbb71d3afb5b763 (patch) | |
tree | 7ab421266ca56a9bd376dfdf4d9f76b61acb5259 /drivers/staging/agnx/pci.c | |
parent | 0f22aab89715916c100b5fa7d146c497d99d45ca (diff) |
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 <dreamfly281@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/agnx/pci.c')
-rw-r--r-- | drivers/staging/agnx/pci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/agnx/pci.c b/drivers/staging/agnx/pci.c index 2e3a8d30fa9..80cccca974a 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 */ |