1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

add missing return that broke WPA1+2 support

Submitted by:	"Jared Go" <jared@hobnob.com>
This commit is contained in:
Sam Leffler 2009-01-11 18:59:14 +00:00
parent 0bd0dfaad0
commit 8d092df91a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187060

View File

@ -2696,6 +2696,7 @@ ieee80211_ioctl_set80211(struct ieee80211vap *vap, u_long cmd, struct ieee80211r
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 */