Staging: rtl8187se: fix if statement
authorDan Carpenter <error27@gmail.com>
Mon, 18 Jan 2010 11:23:20 +0000 (14:23 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:48 +0000 (16:42 -0800)
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>
drivers/staging/rtl8187se/r8180_core.c

index e0f13ef..1fb9e11 100644 (file)
@@ -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