diff --git a/hal/led/hal_led.c b/hal/led/hal_led.c index 95d3daa..033d23b 100644 --- a/hal/led/hal_led.c +++ b/hal/led/hal_led.c @@ -63,7 +63,7 @@ void rtw_led_set_strategy(_adapter *adapter, u8 strategy) rtw_hal_sw_led_deinit(pri_adapter); #endif - rtw_led_control(pri_adapter, RTW_LED_OFF); + rtw_led_control(pri_adapter, (LED_CTL_MODE)RTW_LED_OFF); } #ifdef CONFIG_RTW_SW_LED