diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/airo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 45f47c1c0a35..efb7444a26ae 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -2904,7 +2904,7 @@ EXPORT_SYMBOL(init_airo_card); | |||
2904 | 2904 | ||
2905 | static int waitbusy (struct airo_info *ai) { | 2905 | static int waitbusy (struct airo_info *ai) { |
2906 | int delay = 0; | 2906 | int delay = 0; |
2907 | while ((IN4500 (ai, COMMAND) & COMMAND_BUSY) & (delay < 10000)) { | 2907 | while ((IN4500 (ai, COMMAND) & COMMAND_BUSY) && (delay < 10000)) { |
2908 | udelay (10); | 2908 | udelay (10); |
2909 | if ((++delay % 20) == 0) | 2909 | if ((++delay % 20) == 0) |
2910 | OUT4500(ai, EVACK, EV_CLEARCOMMANDBUSY); | 2910 | OUT4500(ai, EVACK, EV_CLEARCOMMANDBUSY); |