Fix a sleep-in-atomic-context bug in issue_deauth_ex()

This commit is contained in:
Christian Bremvåg 2019-11-10 14:37:07 +01:00 committed by GitHub
parent f0ca8f126c
commit 274ccd7053
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9878,7 +9878,7 @@ int issue_deauth_ex(_adapter *padapter, u8 *da, unsigned short reason, int try_c
break;
if (i < try_cnt && wait_ms > 0 && ret == _FAIL)
rtw_msleep_os(wait_ms);
rtw_mdelay_os(wait_ms);
} while ((i < try_cnt) && ((ret == _FAIL) || (wait_ms == 0)));