mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-10-19 17:11:09 +02:00
Add module parameter for status LED. (#136)
This commit is contained in:
committed by
Harshavardhana
parent
a87576f63f
commit
ea61cdf0fa
@@ -337,11 +337,7 @@ struct led_priv{
|
||||
};
|
||||
|
||||
#ifdef CONFIG_SW_LED
|
||||
#define rtw_led_control(adapter, LedAction) \
|
||||
do { \
|
||||
if((adapter)->ledpriv.LedControlHandler) \
|
||||
(adapter)->ledpriv.LedControlHandler((adapter), (LedAction)); \
|
||||
} while(0)
|
||||
void rtw_led_control(_adapter *adapter, LED_CTL_MODE LedAction);
|
||||
#else //CONFIG_SW_LED
|
||||
#define rtw_led_control(adapter, LedAction)
|
||||
#endif //CONFIG_SW_LED
|
||||
|
Reference in New Issue
Block a user