[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: attempt to scan fails (device busy) if essid/ssid was changed recently
On Tue, 2009-04-07 at 03:00 +0300, Maxim Levitsky wrote:

> I noticed that always first attempt at scan fails when NM asks for scan.
> I also noticed that this happens with quite recent kernels (I think
> 2,6.28) didn't have this behavior.

I'm pretty sure it did.

> Looking a bit deeper I discovered that each time NM disconnects from a
> networks it sets random ssid/essid to the card (using wireless
> extensions)

This forces a scan

> After that scan fails for some time.
> as a NM free example you can run
> iwconfig wlan0 essid dummy
> iwlist scan

and then this fails with EBUSY.

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2009-04-07 10:21    [W:0.093 / U:1.344 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site