staging: rtl8187se: Fixed typo in TransmitConfig
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Tue, 13 Nov 2012 17:28:16 +0000 (19:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 20:41:58 +0000 (12:41 -0800)
Fixed typo in TransmitConfig and removed always false condition

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180_core.c

index be2344df2604dc9ef97217b1e687099f41c07dde..642508e598b21979a8f58d088ec3cccd18fd8a6b 100644 (file)
@@ -2581,11 +2581,10 @@ short rtl8180_init(struct net_device *dev)
 
        priv->CSMethod = (0x01 << 29);
 
-       priv->TransmitConfig =  TCR_DurProcMode_OFFSET |
+       priv->TransmitConfig =  (1<<TCR_DurProcMode_OFFSET) |
                                (7<<TCR_MXDMA_OFFSET) |
                                (priv->ShortRetryLimit<<TCR_SRL_OFFSET) |
-                               (priv->LongRetryLimit<<TCR_LRL_OFFSET) |
-                               (0 ? TCR_SAT : 0);
+                               (priv->LongRetryLimit<<TCR_LRL_OFFSET);
 
        priv->ReceiveConfig =   RCR_AMF | RCR_ADF | RCR_ACF |
                                RCR_AB | RCR_AM | RCR_APM |