diff options
author | Maxim Mikityanskiy <maxtram95@gmail.com> | 2012-11-13 17:28:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 20:41:58 (GMT) |
commit | 42af49901a02ee935873c3a1e5b2e161148c6160 (patch) | |
tree | 637442fbeb3d54615f14395c4e0dcba38ae837a5 /drivers/staging/rtl8187se/r8180_core.c | |
parent | 0d50168d1b871c3f7b73f63c982bf81670654b74 (diff) | |
download | linux-fsl-qoriq-42af49901a02ee935873c3a1e5b2e161148c6160.tar.xz |
staging: rtl8187se: Fixed typo in TransmitConfig
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>
Diffstat (limited to 'drivers/staging/rtl8187se/r8180_core.c')
-rw-r--r-- | drivers/staging/rtl8187se/r8180_core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index be2344d..642508e 100644 --- a/drivers/staging/rtl8187se/r8180_core.c +++ b/drivers/staging/rtl8187se/r8180_core.c @@ -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 | |