Fixed crash because of stupid bug in led function with 8814

This commit is contained in:
fariouche 2018-08-04 12:56:55 +02:00
parent 96312e7786
commit 1105ad7295

View File

@ -28,7 +28,8 @@ rtw_led_control(
{
do
{
(adapter)->ledpriv.LedControlHandler((adapter), (LedAction));
if((adapter)->ledpriv.LedControlHandler)
(adapter)->ledpriv.LedControlHandler((adapter), (LedAction));
}
while(0);
}