aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_cs.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_cs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c
index 8a7984bc8afc..ee542ec6d6a8 100644
--- a/drivers/net/wireless/hostap/hostap_cs.c
+++ b/drivers/net/wireless/hostap/hostap_cs.c
@@ -570,16 +570,10 @@ static int prism2_config(struct pcmcia_device *link)
570 } 570 }
571 memset(hw_priv, 0, sizeof(*hw_priv)); 571 memset(hw_priv, 0, sizeof(*hw_priv));
572 572
573 tuple.DesiredTuple = CISTPL_CONFIG;
574 tuple.Attributes = 0; 573 tuple.Attributes = 0;
575 tuple.TupleData = buf; 574 tuple.TupleData = buf;
576 tuple.TupleDataMax = sizeof(buf); 575 tuple.TupleDataMax = sizeof(buf);
577 tuple.TupleOffset = 0; 576 tuple.TupleOffset = 0;
578 CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(link, &tuple));
579 CS_CHECK(GetTupleData, pcmcia_get_tuple_data(link, &tuple));
580 CS_CHECK(ParseTuple, pcmcia_parse_tuple(link, &tuple, parse));
581 link->conf.ConfigBase = parse->config.base;
582 link->conf.Present = parse->config.rmask[0];
583 577
584 CS_CHECK(GetConfigurationInfo, 578 CS_CHECK(GetConfigurationInfo,
585 pcmcia_get_configuration_info(link, &conf)); 579 pcmcia_get_configuration_info(link, &conf));