From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757244AbZDGAA2 (ORCPT ); Mon, 6 Apr 2009 20:00:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754140AbZDGAAJ (ORCPT ); Mon, 6 Apr 2009 20:00:09 -0400 Received: from mail-ew0-f165.google.com ([209.85.219.165]:60232 "EHLO mail-ew0-f165.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750696AbZDGAAH (ORCPT ); Mon, 6 Apr 2009 20:00:07 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=HqYYoNy4c0UdpiG5sJTVEmyIWpS2vH/GWyRe3tbhT/Byfa4B0tINlYdHN32+WIQ0fy h6wwCTGcl7s+eyAwAQdqTDNQoEMyShcOYq4pciyZLxGQbUzW9SeIuFocSATGYhieqgeb m/OkFmHnVuA9/lT6395ypm7k1MNNP1mWtqV7I= Subject: attempt to scan fails (device busy) if essid/ssid was changed recently From: Maxim Levitsky To: linux-wireless , linux-kernel Content-Type: text/plain Date: Tue, 07 Apr 2009 03:00:01 +0300 Message-Id: <1239062401.4705.23.camel@maxim-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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