Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 20:47:50 +0200
From:      Bernhard Schmidt <bschmidt@freebsd.org>
To:        =?utf-8?q?=E4=B9=94=E6=A5=9A?= <honestqiao@gmail.com>
Cc:        freebsd-wireless <freebsd-wireless@freebsd.org>
Subject:   Re: iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9
Message-ID:  <201208212047.50852.bschmidt@freebsd.org>
In-Reply-To: <CAMAY4VjxmjZ8BEdhjq1zSkxC=HgY2zG1LTJe3-zd9Xgzv=xLLw@mail.gmail.com>
References:  <201207300139326668335@gmail.com> <201208201829.10554.bschmidt@freebsd.org> <CAMAY4VjxmjZ8BEdhjq1zSkxC=HgY2zG1LTJe3-zd9Xgzv=xLLw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 21 August 2012 02:49:17 =E4=B9=94=E6=A5=9A wrote:
> 2012/8/21 Bernhard Schmidt <bschmidt@freebsd.org>:
> > On Monday 20 August 2012 17:24:56 =E4=B9=94=E6=A5=9A wrote:
> >> 2012/8/20 Bernhard Schmidt <bschmidt@freebsd.org>:
> >> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208212047.50852.bschmidt>