Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2009 18:59:14 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187060 - head/sys/net80211
Message-ID:  <200901111859.n0BIxEfn035915@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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" <jared@hobnob.com>

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 */



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