Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4a52b40 authored by Krzysztof Konopko's avatar Krzysztof Konopko Committed by Greg Kroah-Hartman
Browse files

rtl8188eu: Fix a typo in rtw_led.*



A rather obvious typo in one of the identifier has been found.  This patch
fixes the typo and ensures any lines changed do not exceed 80 characters
as indicated by scripts/checkpatch.pl

Signed-off-by: default avatarKrzysztof Konopko <kris@konagma.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 79a8641d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -224,7 +224,8 @@ static void SwLedBlink1(struct LED_871x *pLed)
			pLed->bLedWPSBlinkInProgress = false;
		} else {
			pLed->BlinkingLedState = RTW_LED_OFF;
			_set_timer(&(pLed->BlinkTimer), LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA);
			_set_timer(&(pLed->BlinkTimer),
				   LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA);
		}
		break;
	default:
@@ -388,7 +389,8 @@ static void SwLedControlMode1(struct adapter *padapter, enum LED_CTL_MODE LedAct
		pLed->CurrLedState = LED_BLINK_WPS_STOP;
		if (pLed->bLedOn) {
			pLed->BlinkingLedState = RTW_LED_OFF;
			_set_timer(&(pLed->BlinkTimer), LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA);
			_set_timer(&(pLed->BlinkTimer),
				   LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA);
		} else {
			pLed->BlinkingLedState = RTW_LED_ON;
			_set_timer(&(pLed->BlinkTimer), 0);
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
#define LED_BLINK_LINK_INTERVAL_ALPHA		500	/* 500 */
#define LED_BLINK_SCAN_INTERVAL_ALPHA		180	/* 150 */
#define LED_BLINK_FASTER_INTERVAL_ALPHA		50
#define LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA	5000
#define LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA	5000

enum LED_CTL_MODE {
	LED_CTL_POWER_ON,