Commit 20a035e2 authored by Yamanappagouda Patil's avatar Yamanappagouda Patil Committed by Greg Kroah-Hartman

Staging: rtl8712: Fixed 'tabstop' coding style warnings.

Fixed checkpatch warning "Statements should start on a tabstop" in
rtl8712 module.
Signed-off-by: default avatarYamanappagouda Patil <goudapatilk@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bb1243a6
...@@ -355,7 +355,7 @@ static void SwLedBlink1(struct LED_871x *pLed) ...@@ -355,7 +355,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
} }
pLed->bLedScanBlinkInProgress = false; pLed->bLedScanBlinkInProgress = false;
} else { } else {
if (pLed->bLedOn) if (pLed->bLedOn)
pLed->BlinkingLedState = LED_STATE_OFF; pLed->BlinkingLedState = LED_STATE_OFF;
else else
pLed->BlinkingLedState = LED_STATE_ON; pLed->BlinkingLedState = LED_STATE_ON;
...@@ -390,7 +390,7 @@ static void SwLedBlink1(struct LED_871x *pLed) ...@@ -390,7 +390,7 @@ static void SwLedBlink1(struct LED_871x *pLed)
pLed->BlinkTimes = 0; pLed->BlinkTimes = 0;
pLed->bLedBlinkInProgress = false; pLed->bLedBlinkInProgress = false;
} else { } else {
if (pLed->bLedOn) if (pLed->bLedOn)
pLed->BlinkingLedState = LED_STATE_OFF; pLed->BlinkingLedState = LED_STATE_OFF;
else else
pLed->BlinkingLedState = LED_STATE_ON; pLed->BlinkingLedState = LED_STATE_ON;
...@@ -460,7 +460,7 @@ static void SwLedBlink2(struct LED_871x *pLed) ...@@ -460,7 +460,7 @@ static void SwLedBlink2(struct LED_871x *pLed)
} }
pLed->bLedScanBlinkInProgress = false; pLed->bLedScanBlinkInProgress = false;
} else { } else {
if (pLed->bLedOn) if (pLed->bLedOn)
pLed->BlinkingLedState = LED_STATE_OFF; pLed->BlinkingLedState = LED_STATE_OFF;
else else
pLed->BlinkingLedState = LED_STATE_ON; pLed->BlinkingLedState = LED_STATE_ON;
...@@ -667,7 +667,7 @@ static void SwLedBlink4(struct LED_871x *pLed) ...@@ -667,7 +667,7 @@ static void SwLedBlink4(struct LED_871x *pLed)
msecs_to_jiffies(LED_BLINK_NO_LINK_INTERVAL_ALPHA)); msecs_to_jiffies(LED_BLINK_NO_LINK_INTERVAL_ALPHA));
pLed->bLedBlinkInProgress = false; pLed->bLedBlinkInProgress = false;
} else { } else {
if (pLed->bLedOn) if (pLed->bLedOn)
pLed->BlinkingLedState = LED_STATE_OFF; pLed->BlinkingLedState = LED_STATE_OFF;
else else
pLed->BlinkingLedState = LED_STATE_ON; pLed->BlinkingLedState = LED_STATE_ON;
...@@ -764,7 +764,7 @@ static void SwLedBlink5(struct LED_871x *pLed) ...@@ -764,7 +764,7 @@ static void SwLedBlink5(struct LED_871x *pLed)
msecs_to_jiffies(LED_BLINK_FASTER_INTERVAL_ALPHA)); msecs_to_jiffies(LED_BLINK_FASTER_INTERVAL_ALPHA));
pLed->bLedBlinkInProgress = false; pLed->bLedBlinkInProgress = false;
} else { } else {
if (pLed->bLedOn) if (pLed->bLedOn)
pLed->BlinkingLedState = LED_STATE_OFF; pLed->BlinkingLedState = LED_STATE_OFF;
else else
pLed->BlinkingLedState = LED_STATE_ON; pLed->BlinkingLedState = LED_STATE_ON;
...@@ -946,7 +946,7 @@ static void SwLedControlMode1(struct _adapter *padapter, ...@@ -946,7 +946,7 @@ static void SwLedControlMode1(struct _adapter *padapter,
if (psitesurveyctrl->traffic_busy && if (psitesurveyctrl->traffic_busy &&
check_fwstate(pmlmepriv, _FW_LINKED)) check_fwstate(pmlmepriv, _FW_LINKED))
; /* dummy branch */ ; /* dummy branch */
else if (!pLed->bLedScanBlinkInProgress) { else if (!pLed->bLedScanBlinkInProgress) {
if (IS_LED_WPS_BLINKING(pLed)) if (IS_LED_WPS_BLINKING(pLed))
return; return;
if (pLed->bLedNoLinkBlinkInProgress) { if (pLed->bLedNoLinkBlinkInProgress) {
...@@ -970,7 +970,7 @@ static void SwLedControlMode1(struct _adapter *padapter, ...@@ -970,7 +970,7 @@ static void SwLedControlMode1(struct _adapter *padapter,
pLed->BlinkingLedState = LED_STATE_ON; pLed->BlinkingLedState = LED_STATE_ON;
mod_timer(&pLed->BlinkTimer, jiffies + mod_timer(&pLed->BlinkTimer, jiffies +
msecs_to_jiffies(LED_BLINK_SCAN_INTERVAL_ALPHA)); msecs_to_jiffies(LED_BLINK_SCAN_INTERVAL_ALPHA));
} }
break; break;
case LED_CTL_TX: case LED_CTL_TX:
case LED_CTL_RX: case LED_CTL_RX:
...@@ -1000,7 +1000,7 @@ static void SwLedControlMode1(struct _adapter *padapter, ...@@ -1000,7 +1000,7 @@ static void SwLedControlMode1(struct _adapter *padapter,
case LED_CTL_START_WPS: /*wait until xinpin finish */ case LED_CTL_START_WPS: /*wait until xinpin finish */
case LED_CTL_START_WPS_BOTTON: case LED_CTL_START_WPS_BOTTON:
if (!pLed->bLedWPSBlinkInProgress) { if (!pLed->bLedWPSBlinkInProgress) {
if (pLed->bLedNoLinkBlinkInProgress) { if (pLed->bLedNoLinkBlinkInProgress) {
del_timer(&pLed->BlinkTimer); del_timer(&pLed->BlinkTimer);
pLed->bLedNoLinkBlinkInProgress = false; pLed->bLedNoLinkBlinkInProgress = false;
...@@ -1113,9 +1113,9 @@ static void SwLedControlMode2(struct _adapter *padapter, ...@@ -1113,9 +1113,9 @@ static void SwLedControlMode2(struct _adapter *padapter,
switch (LedAction) { switch (LedAction) {
case LED_CTL_SITE_SURVEY: case LED_CTL_SITE_SURVEY:
if (pmlmepriv->sitesurveyctrl.traffic_busy) if (pmlmepriv->sitesurveyctrl.traffic_busy)
; /* dummy branch */ ; /* dummy branch */
else if (!pLed->bLedScanBlinkInProgress) { else if (!pLed->bLedScanBlinkInProgress) {
if (IS_LED_WPS_BLINKING(pLed)) if (IS_LED_WPS_BLINKING(pLed))
return; return;
...@@ -1132,7 +1132,7 @@ static void SwLedControlMode2(struct _adapter *padapter, ...@@ -1132,7 +1132,7 @@ static void SwLedControlMode2(struct _adapter *padapter,
pLed->BlinkingLedState = LED_STATE_ON; pLed->BlinkingLedState = LED_STATE_ON;
mod_timer(&pLed->BlinkTimer, jiffies + mod_timer(&pLed->BlinkTimer, jiffies +
msecs_to_jiffies(LED_BLINK_SCAN_INTERVAL_ALPHA)); msecs_to_jiffies(LED_BLINK_SCAN_INTERVAL_ALPHA));
} }
break; break;
case LED_CTL_TX: case LED_CTL_TX:
...@@ -1186,7 +1186,7 @@ static void SwLedControlMode2(struct _adapter *padapter, ...@@ -1186,7 +1186,7 @@ static void SwLedControlMode2(struct _adapter *padapter,
pLed->BlinkingLedState = LED_STATE_ON; pLed->BlinkingLedState = LED_STATE_ON;
mod_timer(&pLed->BlinkTimer, mod_timer(&pLed->BlinkTimer,
jiffies + msecs_to_jiffies(0)); jiffies + msecs_to_jiffies(0));
} }
break; break;
case LED_CTL_STOP_WPS: case LED_CTL_STOP_WPS:
......
...@@ -405,7 +405,7 @@ static sint ap2sta_data_frame(struct _adapter *adapter, ...@@ -405,7 +405,7 @@ static sint ap2sta_data_frame(struct _adapter *adapter,
} }
/* filter packets that SA is myself or multicast or broadcast */ /* filter packets that SA is myself or multicast or broadcast */
if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN))
return _FAIL; return _FAIL;
/* da should be for me */ /* da should be for me */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment