On Thu, Jun 13, 2019 at 11:12:23PM +0200, Klemens Nanni wrote:
> 
> Simple sleeps for 100ms that currently use a timeval to specify
> miliseconds, convert them to Hz with tvtohz(9) so they can be converted
> back by timeout_add(9) - we can do better by now.
> 
> I lack appropiate hardware, but the diff is pretty safe imho.  The fact
> that the argument has never been zero and will never be with this diff
> makes it safe for timeout_add_msec(9) to now always sleep for at least
> one tick.
> 
> Feedback? OK?

Tested on:
urtw0 at uhub0 port 4 configuration 1 interface 0 "Realtek RTL8187_Wireless" 
rev 2.00/1.00 addr 3
urtw0: RTL8187 rev 0x04, RFv2, address 00:40:0c:xx:xx:xx

ok kevlo@

Reply via email to