Skip to contentSkip to conversation

staging/rtl8187se: fix if statement

PATCH New Dan Carpenter 1 participant 1 message Jan 18, 2010 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/staging/rtl8187se/r8180_core.c +1 -1
@@ -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