* [patch] staging/rtl8187se: fix if statement
@ 2010-01-18 11:23 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2010-01-18 11:23 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: devel, linux-kernel
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>
--- orig/drivers/staging/rtl8187se/r8180_core.c 2010-01-18 08:27:05.000000000 +0300
+++ devel/drivers/staging/rtl8187se/r8180_core.c 2010-01-18 08:27:40.000000000 +0300
@@ -2566,7 +2566,7 @@ void watch_dog_adaptive(unsigned long da
// 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-18 11:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 11:23 [patch] staging/rtl8187se: fix if statement Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox