Staging: rtl8187se: fixed coding style issues
Fixed checkpatch.pl errors in r8180_dm.c. Signed-off-by: Adam Rall <adam.rall4@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e72f8762f8
commit
9cf66a95c7
1 changed files with 39 additions and 41 deletions
|
@ -577,8 +577,7 @@ void StaRateAdaptive87SE(struct net_device *dev)
|
|||
|
||||
if (bTryDown && (CurrSignalStrength < -75)) /* cable link */
|
||||
priv->TryDownCountLowData += TryDownTh;
|
||||
}
|
||||
else if (priv->CurrentOperaRate == 96) {
|
||||
} else if (priv->CurrentOperaRate == 96) {
|
||||
/* 2For 48Mbps */
|
||||
/* Air Link */
|
||||
if (((CurrRetryRate > 48) && (priv->LastRetryRate > 47))) {
|
||||
|
@ -641,8 +640,7 @@ void StaRateAdaptive87SE(struct net_device *dev)
|
|||
/* 2For 11Mbps */
|
||||
if (CurrRetryRate > 95) {
|
||||
bTryDown = true;
|
||||
}
|
||||
else if ((CurrRetryRate < 29) && (priv->LastRetryRate < 30)) { /*TO DO: need to consider (RSSI) */
|
||||
} else if ((CurrRetryRate < 29) && (priv->LastRetryRate < 30)) { /*TO DO: need to consider (RSSI) */
|
||||
bTryUp = true;
|
||||
}
|
||||
} else if (priv->CurrentOperaRate == 11) {
|
||||
|
|
Loading…
Add table
Reference in a new issue