From owner-svn-src-head@FreeBSD.ORG Sun Jan 11 18:59:14 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C127310656C3; Sun, 11 Jan 2009 18:59:14 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AFCD58FC0A; Sun, 11 Jan 2009 18:59:14 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0BIxEhF035916; Sun, 11 Jan 2009 18:59:14 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0BIxEfn035915; Sun, 11 Jan 2009 18:59:14 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200901111859.n0BIxEfn035915@svn.freebsd.org> From: Sam Leffler Date: Sun, 11 Jan 2009 18:59:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187060 - head/sys/net80211 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2009 18:59:15 -0000 Author: sam Date: Sun Jan 11 18:59:14 2009 New Revision: 187060 URL: http://svn.freebsd.org/changeset/base/187060 Log: add missing return that broke WPA1+2 support Submitted by: "Jared Go" Modified: head/sys/net80211/ieee80211_ioctl.c Modified: head/sys/net80211/ieee80211_ioctl.c ============================================================================== --- head/sys/net80211/ieee80211_ioctl.c Sun Jan 11 18:40:56 2009 (r187059) +++ head/sys/net80211/ieee80211_ioctl.c Sun Jan 11 18:59:14 2009 (r187060) @@ -2696,6 +2696,7 @@ ieee80211_ioctl_set80211(struct ieee8021 break; case 3: if ((vap->iv_caps & IEEE80211_C_WPA) != IEEE80211_C_WPA) + return EOPNOTSUPP; flags |= IEEE80211_F_WPA1 | IEEE80211_F_WPA2; break; default: /* Can't set any -> error */