diff options
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 377141995e36..969f53fd705b 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -1977,10 +1977,10 @@ static int wl3501_config(struct pcmcia_device *link) | |||
1977 | link->io.BasePort1 = j; | 1977 | link->io.BasePort1 = j; |
1978 | link->io.BasePort2 = link->io.BasePort1 + 0x10; | 1978 | link->io.BasePort2 = link->io.BasePort1 + 0x10; |
1979 | i = pcmcia_request_io(link, &link->io); | 1979 | i = pcmcia_request_io(link, &link->io); |
1980 | if (i == CS_SUCCESS) | 1980 | if (i == 0) |
1981 | break; | 1981 | break; |
1982 | } | 1982 | } |
1983 | if (i != CS_SUCCESS) { | 1983 | if (i != 0) { |
1984 | cs_error(link, RequestIO, i); | 1984 | cs_error(link, RequestIO, i); |
1985 | goto failed; | 1985 | goto failed; |
1986 | } | 1986 | } |