diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c index 82fca26f1159..490b56755844 100644 --- a/sys/net80211/ieee80211_ioctl.c +++ b/sys/net80211/ieee80211_ioctl.c @@ -1527,9 +1527,6 @@ ieee80211_ioctl_setkey(struct ieee80211com *ic, struct ieee80211req *ireq) return EINVAL; wk = &ic->ic_nw_keys[kid]; ni = NULL; - /* XXX auto-add group key flag until applications are updated */ - if ((ik.ik_flags & IEEE80211_KEY_XMIT) == 0) /* XXX */ - ik.ik_flags |= IEEE80211_KEY_GROUP; /* XXX */ } error = 0; ieee80211_key_update_begin(ic);