diff options
Diffstat (limited to 'drivers/net/wireless/spectrum_cs.c')
-rw-r--r-- | drivers/net/wireless/spectrum_cs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/spectrum_cs.c b/drivers/net/wireless/spectrum_cs.c index 78320c1a1c15..b7ed99f8d319 100644 --- a/drivers/net/wireless/spectrum_cs.c +++ b/drivers/net/wireless/spectrum_cs.c | |||
@@ -790,8 +790,7 @@ spectrum_cs_config(dev_link_t *link) | |||
790 | break; | 790 | break; |
791 | 791 | ||
792 | next_entry: | 792 | next_entry: |
793 | if (link->io.NumPorts1) | 793 | pcmcia_disable_device(handle); |
794 | pcmcia_release_io(link->handle, &link->io); | ||
795 | last_ret = pcmcia_get_next_tuple(handle, &tuple); | 794 | last_ret = pcmcia_get_next_tuple(handle, &tuple); |
796 | if (last_ret == CS_NO_MORE_ITEMS) { | 795 | if (last_ret == CS_NO_MORE_ITEMS) { |
797 | printk(KERN_ERR PFX "GetNextTuple(): No matching " | 796 | printk(KERN_ERR PFX "GetNextTuple(): No matching " |