diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index 23107e5..1452983 100644 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -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)));