mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +00:00
Fix a sleep-in-atomic-context bug in issue_deauth_ex()
This commit is contained in:
parent
f0ca8f126c
commit
274ccd7053
@ -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)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user