summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-01-18 14:23:20 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:42:48 -0800
commitcffd4e16cd6e5893148c31f86d1b48db10b64baa (patch)
tree7d5ada973434b12f4b5a2082f391341a5f3c94d6
parentc22202faade08b6b45f14fd86bfb57f79d73464c (diff)
Staging: rtl8187se: fix if statement
I removed a misplace semicolon. It is clear from the indentation that TxPwrTracking87SE() was only supposed to be called if CheckTxPwrTracking() returned true. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/rtl8187se/r8180_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c
index e0f13efdb15a..1fb9e1141df8 100644
--- a/drivers/staging/rtl8187se/r8180_core.c
+++ b/drivers/staging/rtl8187se/r8180_core.c
@@ -2566,7 +2566,7 @@ void watch_dog_adaptive(unsigned long data)
// Tx Power Tracking on 87SE.
#ifdef TX_TRACK
//if( priv->bTxPowerTrack ) //lzm mod 080826
- if( CheckTxPwrTracking((struct net_device *)data));
+ if (CheckTxPwrTracking((struct net_device *)data))
TxPwrTracking87SE((struct net_device *)data);
#endif