projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wireless, wavelan: spin off by 1
[deliverable/linux.git]
/
drivers
/
net
/
wireless
/
wavelan_cs.c
diff --git
a/drivers/net/wireless/wavelan_cs.c
b/drivers/net/wireless/wavelan_cs.c
index de717f8ffd61061a5caccfa92cb62d70403b1087..1565a0a609739aa0f997cb7621af8d8528a8fd3e 100644
(file)
--- a/
drivers/net/wireless/wavelan_cs.c
+++ b/
drivers/net/wireless/wavelan_cs.c
@@
-838,9
+838,8
@@
wv_82593_cmd(struct net_device * dev,
}
while(((status & SR3_EXEC_STATE_MASK) != SR3_EXEC_IDLE) && (spin-- > 0));
}
while(((status & SR3_EXEC_STATE_MASK) != SR3_EXEC_IDLE) && (spin-- > 0));
- /* If the interrupt hasn't be posted */
- if(spin <= 0)
- {
+ /* If the interrupt hasn't been posted */
+ if (spin < 0) {
#ifdef DEBUG_INTERRUPT_ERROR
printk(KERN_INFO "wv_82593_cmd: %s timeout (previous command), status 0x%02x\n",
str, status);
#ifdef DEBUG_INTERRUPT_ERROR
printk(KERN_INFO "wv_82593_cmd: %s timeout (previous command), status 0x%02x\n",
str, status);
This page took
0.024844 seconds
and
5
git commands to generate.