CFT/CFR, possible fix for ifconfig scan hang

Eugene Grosbein egrosbein at rdtc.ru
Tue Dec 28 18:17:26 UTC 2010


On 28.12.2010 22:58, Bernhard Schmidt wrote:
> On Tuesday 28 December 2010 17:30:58 you wrote:
>> On 28.12.2010 01:24, Bernhard Schmidt wrote:
>>> I have a patch available which addresses both of the issues. It requests
>>> a background scan by default and also honors the return value of
>>> start_scan_locked():
>>> - for head
>>> http://techwires.net/~bschmidt/scan_hang_head.diff
>>> - for 8-stable/8.2-*:
>>> http://techwires.net/~bschmidt/scan_hang_stable.diff
>>>
>>> Please test and let me know if it works, or not.
>>
>> It helps and works for urtw(4)/Realtek RTL8187B found in some notebooks,
> 
> Thanks
> 
>> thanks. However, it still takes 81 seconds for "ifconfig wlan0 up" to
>> complete and I wonder why. Then "ifconfig wlan0 scan" works without delay
>> (it was hanging forever without your patch).
> 
> Is it really 81 seconds? or just 8.1, that's what I've got too.

Really 81 seconds.


More information about the freebsd-net mailing list