Merge pull request #1 from fariouche/v5.2.20

This fixes the support for 8814
This commit is contained in:
Christian B 2018-08-04 13:13:50 +02:00 committed by GitHub
commit eaaf33d8f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}