public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* attempt to scan fails (device busy) if essid/ssid was changed recently
@ 2009-04-07  0:00 Maxim Levitsky
  2009-04-07  8:18 ` Johannes Berg
  0 siblings, 1 reply; 19+ messages in thread
From: Maxim Levitsky @ 2009-04-07  0:00 UTC (permalink / raw)
  To: linux-wireless, linux-kernel

Recently I was trying to reduce time it takes for wireless card to
connect.

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.

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)

After that scan fails for some time.

as a NM free example you can run 

iwconfig wlan0 essid dummy
iwlist scan


and this will fail



NM in this case waits for whole 10 seconds.


What do you think about this?

I confirm that on iwl3945 and ath5k, so this isn't driver specific.

Best regards,
	Maxim Levitsky


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-04-12 12:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07  0:00 attempt to scan fails (device busy) if essid/ssid was changed recently Maxim Levitsky
2009-04-07  8:18 ` Johannes Berg
2009-04-07 12:51   ` Maxim Levitsky
2009-04-07 12:56     ` Johannes Berg
2009-04-07 13:04       ` Maxim Levitsky
2009-04-07 13:13         ` Johannes Berg
2009-04-07 13:20           ` Maxim Levitsky
2009-04-07 13:27             ` Johannes Berg
2009-04-07 13:51               ` Maxim Levitsky
2009-04-07 20:24                 ` Maxim Levitsky
2009-04-07 20:37                   ` Johannes Berg
2009-04-10 20:30                     ` Maxim Levitsky
2009-04-10 20:47                       ` Maxim Levitsky
2009-04-11 11:35                         ` Johannes Berg
2009-04-11 11:34                       ` Johannes Berg
2009-04-11 23:55                         ` Maxim Levitsky
2009-04-12  7:06                           ` Johannes Berg
2009-04-12 12:49                             ` Maxim Levitsky
2009-04-08 14:26     ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox