Search Linux Wireless

Re: [PATCH] wl1251: read default MAC address from EEPROM when available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Grazvydas Ignotas <notasas@xxxxxxxxx> writes:

>>> +             udelay(200);
>>> +     }
>>
>> Is the udelay() really needed here? In my opinion msleep(), for
>> example with a value of 5 ms, would be nicer from system point of
>> view. It doesn't matter if this function takes few milliseconds
>> longer, because this is called only in op_start(). What do you think?
>
> It normally takes something like 700-1000us, so I guess I can replace
> with msleep(1) if you think it's better.

Yes, that's better. It's always good to avoid busylooping.

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux