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:
Larry Finger
2021-08-05 14:26:40 -05:00
committed by Carlos Garcés
parent 1fcfef2e07
commit fdbea81f08
25 changed files with 105 additions and 132 deletions

View File

@@ -382,7 +382,7 @@ int issue_nulldata_to_TDLS_peer_STA(_adapter *padapter, unsigned char *da, unsig
break;
if (i < try_cnt && wait_ms > 0 && ret == _FAIL)
rtw_msleep_os(wait_ms);
msleep(wait_ms);
} while ((i < try_cnt) && (ret == _FAIL || wait_ms == 0));
@@ -1051,7 +1051,7 @@ s32 rtw_tdls_do_ch_sw(_adapter *padapter, struct sta_info *ptdls_sta, u8 chnl_ty
wait_time = 0;
if (wait_time > 0)
rtw_msleep_os(wait_time);
msleep(wait_time);
}
}