summaryrefslogtreecommitdiff
path: root/drivers/staging/rt2860/common/rtmp_mcu.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-01-21 15:50:13 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2010-01-21 15:50:13 +1100
commit0747f7716e6bf96483922904ee14936353865c52 (patch)
treefde20e508d2671990f77686e0e7e968f8fdb9921 /drivers/staging/rt2860/common/rtmp_mcu.c
parente5befd178b2168a6e538fd118cc11be34fadabdc (diff)
parentbf2ac280f2478de0aed46e851060d3c0fce3674b (diff)
Merge branch 'quilt/staging'
Conflicts: drivers/staging/sm7xx/smtc2d.c drivers/staging/sm7xx/smtc2d.h
Diffstat (limited to 'drivers/staging/rt2860/common/rtmp_mcu.c')
-rw-r--r--drivers/staging/rt2860/common/rtmp_mcu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rt2860/common/rtmp_mcu.c b/drivers/staging/rt2860/common/rtmp_mcu.c
index 9f03901433bb..e80f587cff1a 100644
--- a/drivers/staging/rt2860/common/rtmp_mcu.c
+++ b/drivers/staging/rt2860/common/rtmp_mcu.c
@@ -221,7 +221,7 @@ int RtmpAsicSendCommandToMcu(struct rt_rtmp_adapter *pAd,
("AsicSendCommanToMcu::Mail box is busy\n"));
} while (i++ < 100);
- if (i >= 100) {
+ if (i > 100) {
DBGPRINT_ERR(("H2M_MAILBOX still hold by MCU. command fail\n"));
return FALSE;
}