From owner-freebsd-wireless@FreeBSD.ORG Tue Aug 21 18:47:22 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74DA71065676 for ; Tue, 21 Aug 2012 18:47:22 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E2FDD8FC1A for ; Tue, 21 Aug 2012 18:47:21 +0000 (UTC) Received: by bkcje9 with SMTP id je9so88241bkc.13 for ; Tue, 21 Aug 2012 11:47:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=tpq1t6m3lGgeQvZUXMW5Ggp72ZaqoLBwabvj1YjnIPM=; b=hZu6AHId0QEQ5TTOujtacoWNM3e5HoyzmjMaRddLE6WY1xlOvO3ez67zJGi84MSYeU TGLdtT/iwEANYjtA8oKPjwEcAatVP9HLqITB7g68pI1GLObEVLAK+PpTFQgED0QMCwXB e/xj65nKRLT2/WLoMT4Ym4vZjr5UBZ97qGc4+V6ERSF5ovuQlOTXSm7wvj51Lx3j3xxJ wt/nLL90UWBVRzquABh+luTr/fMjFf1QD2aKi625fhlOr0KoDJq6c1Gl8dFZbCVhjNeP 28vur9BVF7QTXrb49FhmQR284sCgPiBafbV72W4U3cE3pz1VWTE7z+8lKKrpnGHh9jlg C+VQ== Received: by 10.204.8.84 with SMTP id g20mr822025bkg.126.1345574840422; Tue, 21 Aug 2012 11:47:20 -0700 (PDT) Received: from amy.lab.techwires.net (dslb-088-067-209-170.pools.arcor-ip.net. [88.67.209.170]) by mx.google.com with ESMTPS id c18sm1369306bkv.8.2012.08.21.11.47.19 (version=SSLv3 cipher=OTHER); Tue, 21 Aug 2012 11:47:19 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: =?utf-8?q?=E4=B9=94=E6=A5=9A?= Date: Tue, 21 Aug 2012 20:47:50 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.7.4; amd64; ; ) References: <201207300139326668335@gmail.com> <201208201829.10554.bschmidt@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201208212047.50852.bschmidt@freebsd.org> X-Gm-Message-State: ALoCoQlbiwJtFGvvgSgJhazALoG2x8rPgc0oo4Mad6Vu8Oujxwz8HITXzJKqB7EedXRojXvuFXqa Cc: freebsd-wireless Subject: Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2012 18:47:22 -0000 On Tuesday 21 August 2012 02:49:17 =E4=B9=94=E6=A5=9A wrote: > 2012/8/21 Bernhard Schmidt : > > On Monday 20 August 2012 17:24:56 =E4=B9=94=E6=A5=9A wrote: > >> 2012/8/20 Bernhard Schmidt : > >> > Can you try attached diff? This change is in head and an MFC > >> > should fix the issue. > >> > >> But my src branch is stable/9. > >> > >> I need switch to HEAD? > > > > No, the patch should apply to stable/9 just fine. > > > > -- > > Bernhard >=20 > [8:48:19]root@x201i.pts/1 /usr/src # patch -p < > /home/HonestQiao/Downloads/r231187.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: sys/net80211/ieee80211.h > |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > |--- sys/net80211/ieee80211.h (revision 231186) > |+++ sys/net80211/ieee80211.h (revision 231187) > -------------------------- > Patching file sys/net80211/ieee80211.h using Plan A... > Hunk #1 failed at 709. > 1 out of 1 hunks failed--saving rejects to sys/net80211/ieee80211.h.rej > done Is your source up 2 date and clean? It applies cleanly here. Check with svn up and svn stat I guess. amy:sys/net80211% pwd /home/bschmidt/src/svn/freebsd/stable/9/sys/net80211 amy:sys/net80211% patch -p2 < ~/tmp/r231187.diff Hmm... Looks like a unified diff to me... The text leading up to this was: =2D------------------------- |Index: sys/net80211/ieee80211.h |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- sys/net80211/ieee80211.h (revision 231186) |+++ sys/net80211/ieee80211.h (revision 231187) =2D------------------------- Patching file ieee80211.h using Plan A... Hunk #1 succeeded at 709. done amy:sys/net80211% =2D-=20 Bernhard