Skip to content

Commit

Permalink
staging: rtl8187se: Fixed typo in TransmitConfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxim Mikityanskiy authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 0d50168 commit 42af499
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/rtl8187se/r8180_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 42af499

Please sign in to comment.