mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-09 23:57:10 +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