From owner-freebsd-net@FreeBSD.ORG Tue Dec 8 01:31:52 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A432106566B for ; Tue, 8 Dec 2009 01:31:52 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id AC0198FC0A for ; Tue, 8 Dec 2009 01:31:51 +0000 (UTC) Received: by ewy3 with SMTP id 3so158659ewy.33 for ; Mon, 07 Dec 2009 17:31:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=+FWv+FIAYoN6IhL+mVMq2zm03yWtE73QmO/14zoQbVM=; b=BZs0KjDGHnIOsQA5GIpl0pvSwX6gnFk1wxRprZUiNAIqgBn5DHZb5DHeq9BGYLt1LB jVzF7W5UZzB5Jx61nYUNkypVBWGYanHXZi99ueWsWrlbhq1MC447hcXfZpwkwYwoHjP/ SrxphR/3Us0/kidD0qDAK2PgSyXEwYy3WUiys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=iJ+OLWk5c1b3BCbUGGf2SzqiAuWFBIxyRig/+bf3Z1Zoa5/yR5870zgYUrAm7w7sQt 433o09JaSCkga6qlB5azcJ7qLHi8Ts8RP4RtWS8ppSksfng2kwgzky49VPIIdn0melbO 6Zkrirr4pA6WjpEHyxFUU0DjT0Lz04B/S6qzI= Received: by 10.213.104.78 with SMTP id n14mr6091655ebo.98.1260234407294; Mon, 07 Dec 2009 17:06:47 -0800 (PST) Received: from rui-macbook.lan (bl6-157-203.dsl.telepac.pt [82.155.157.203]) by mx.google.com with ESMTPS id 24sm10000818eyx.6.2009.12.07.17.06.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Dec 2009 17:06:46 -0800 (PST) Sender: Rui Paulo Message-Id: <36033F57-90F1-424C-8C88-D20B3DC45D0A@FreeBSD.org> From: Rui Paulo To: Paul B Mahol In-Reply-To: <3a142e750912070521u2804992fy2534e25a37ceb626@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 8 Dec 2009 01:06:45 +0000 References: <3a142e750912070521u2804992fy2534e25a37ceb626@mail.gmail.com> X-Mailer: Apple Mail (2.936) Cc: net Subject: Re: ndis: broken scan X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2009 01:31:52 -0000 On 7 Dec 2009, at 13:21, Paul B Mahol wrote: > Patch attached to fix scan results. > Bug is obvious if you use -v flag: > ifconfig -v wlan0 list scan > > It is interesting, that it never got noticed. I got hit with this one > when working on WPA instead of WPA2(RSN). In that case wpa_supplicant > would never pick AP because it doesnt see WPA, it could see only RSN, > now with this patch it see much more, like WME; and > ifconfig wlan0 list scan > output is more useful. Looks good. Thanks, -- Rui Paulo