mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Remove wrapper routine rtw_msleep_os()
The effect of this macro is to call msleep(). Remove the wrapper. Link: https://lore.kernel.org/r/20210805192644.15978-2-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
1fcfef2e07
commit
fdbea81f08
@@ -165,7 +165,7 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, _adapter *padapter)
|
||||
/* Tx buf allocation may fail sometimes, so sleep and retry. */
|
||||
res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), _TRUE);
|
||||
if (res == _FAIL) {
|
||||
rtw_msleep_os(10);
|
||||
msleep(10);
|
||||
res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), _TRUE);
|
||||
if (res == _FAIL)
|
||||
goto exit;
|
||||
@@ -1622,7 +1622,7 @@ static s32 xmitframe_addmic(_adapter *padapter, struct xmit_frame *pxmitframe)
|
||||
if (bmcst) {
|
||||
if (_rtw_memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key, 16) == _TRUE) {
|
||||
/* DbgPrint("\nxmitframe_addmic:stainfo->dot11tkiptxmickey==0\n"); */
|
||||
/* rtw_msleep_os(10); */
|
||||
/* msleep(10); */
|
||||
return _FAIL;
|
||||
}
|
||||
/* start to calculate the mic code */
|
||||
@@ -1630,7 +1630,7 @@ static s32 xmitframe_addmic(_adapter *padapter, struct xmit_frame *pxmitframe)
|
||||
} else {
|
||||
if (_rtw_memcmp(&pattrib->dot11tkiptxmickey.skey[0], null_key, 16) == _TRUE) {
|
||||
/* DbgPrint("\nxmitframe_addmic:stainfo->dot11tkiptxmickey==0\n"); */
|
||||
/* rtw_msleep_os(10); */
|
||||
/* msleep(10); */
|
||||
return _FAIL;
|
||||
}
|
||||
/* start to calculate the mic code */
|
||||
|
||||
Reference in New Issue
Block a user