diff options
author | Namrata A Shettar <namrataashettar@gmail.com> | 2016-09-16 23:05:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-17 23:36:53 +0200 |
commit | 9fa1f943d6fae7a5b233427139ada65d0ce372cd (patch) | |
tree | 2c5322165e16b5f7aeb1b51e037e787cad429bbf | |
parent | staging: rtl8188eu: core: Replace memcpy() with ether_addr_copy() if ethernet... (diff) | |
download | linux-9fa1f943d6fae7a5b233427139ada65d0ce372cd.tar.xz linux-9fa1f943d6fae7a5b233427139ada65d0ce372cd.zip |
staging: rtl8712: Rename misspelt macro
Correct the word 'success' being misspelt in the macro:
- LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA => LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA
Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8712/rtl8712_led.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/rtl8712/rtl8712_led.c b/drivers/staging/rtl8712/rtl8712_led.c index 76d053513066..a6cbfdc487a4 100644 --- a/drivers/staging/rtl8712/rtl8712_led.c +++ b/drivers/staging/rtl8712/rtl8712_led.c @@ -43,7 +43,7 @@ #define LED_BLINK_LINK_INTERVAL_ALPHA 500 #define LED_BLINK_SCAN_INTERVAL_ALPHA 180 #define LED_BLINK_FASTER_INTERVAL_ALPHA 50 -#define LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA 5000 +#define LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA 5000 /*=========================================================================== * LED object. @@ -410,7 +410,7 @@ static void SwLedBlink1(struct LED_871x *pLed) if (pLed->BlinkingLedState == LED_ON) { pLed->BlinkingLedState = LED_OFF; mod_timer(&pLed->BlinkTimer, jiffies + - msecs_to_jiffies(LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA)); + msecs_to_jiffies(LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA)); bStopBlinking = false; } else { bStopBlinking = true; @@ -574,7 +574,7 @@ static void SwLedBlink3(struct LED_871x *pLed) if (pLed->BlinkingLedState == LED_ON) { pLed->BlinkingLedState = LED_OFF; mod_timer(&pLed->BlinkTimer, jiffies + - msecs_to_jiffies(LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA)); + msecs_to_jiffies(LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA)); bStopBlinking = false; } else { bStopBlinking = true; @@ -1052,7 +1052,7 @@ static void SwLedControlMode1(struct _adapter *padapter, if (pLed->bLedOn) { pLed->BlinkingLedState = LED_OFF; mod_timer(&pLed->BlinkTimer, jiffies + - msecs_to_jiffies(LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA)); + msecs_to_jiffies(LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA)); } else { pLed->BlinkingLedState = LED_ON; mod_timer(&pLed->BlinkTimer, @@ -1332,7 +1332,7 @@ static void SwLedControlMode3(struct _adapter *padapter, if (pLed->bLedOn) { pLed->BlinkingLedState = LED_OFF; mod_timer(&pLed->BlinkTimer, jiffies + - msecs_to_jiffies(LED_BLINK_WPS_SUCESS_INTERVAL_ALPHA)); + msecs_to_jiffies(LED_BLINK_WPS_SUCCESS_INTERVAL_ALPHA)); } else { pLed->BlinkingLedState = LED_ON; mod_timer(&pLed->BlinkTimer, |