Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:51325 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754806Ab0BAVaf (ORCPT ); Mon, 1 Feb 2010 16:30:35 -0500 Date: Mon, 1 Feb 2010 16:29:19 -0500 From: "John W. Linville" To: Johannes Berg Cc: "Zhao, Shanyu" , "linux-wireless@vger.kernel.org" Subject: Re: [PATCH 1/1] cfg80211: wext: set bssid to NULL in SIOCIWESSID Message-ID: <20100201212918.GF4952@tuxdriver.com> References: <1264808376-8003-1-git-send-email-shanyu.zhao@intel.com> <1264840626.3546.181.camel@johannes.local> <380B2771CDD78E46856E6B788D9F199750233886@orsmsx503.amr.corp.intel.com> <1265052460.29119.0.camel@johannes.local> <20100201194748.GC4952@tuxdriver.com> <1265059504.29119.1.camel@johannes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1265059504.29119.1.camel@johannes.local> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Feb 01, 2010 at 10:25:04PM +0100, Johannes Berg wrote: > On Mon, 2010-02-01 at 14:47 -0500, John W. Linville wrote: > > > > > iwconfig wlan0 essid "foo" > > > > This will make the station associate with the first AP with essid > > > > "foo". > > > > > > > > iwconfig wlan0 ap "00:...:ff" > > > > This will disassociate from the previous AP, and then associate with > > > > the first AP with MAC "00:...:ff". > > > > > > > > Am I missing anything here? > > > > > > No, I missed something. The problem will only occur when the SSID is > > > hidden as well, because the connect code will not have the SSID and not > > > know what to scan for, or which SSID to choose (there are Cisco APs that > > > use the same BSSID for multiple hidden SSIDs). > > > > Well, in the confusion I deleted the original post. Could you > > (i.e. Shanyu Zhao) resend it to me? > > Sorry -- I wasn't clear. My mail missed something in describing the > problem, but that doesn't change the fact that the patch will break it. OK, thanks for clarifying! :-) John -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.