diff options
author | 2018-09-10 11:07:43 +0000 | |
---|---|---|
committer | 2018-09-10 11:07:43 +0000 | |
commit | 1409687882c372a9592b08fda84e8318cbb068e8 (patch) | |
tree | 16f2ac2af0820883e330f10e0ede4d88631e1050 | |
parent | update regression tests after previous commit. ok claudio@ (diff) | |
download | wireguard-openbsd-1409687882c372a9592b08fda84e8318cbb068e8.tar.xz wireguard-openbsd-1409687882c372a9592b08fda84e8318cbb068e8.zip |
do not immediately set the join'd network, the join command only updates
the list.
makes /etc/netstart very fast when ran while the interface is up
OK stsp@
-rw-r--r-- | sys/net80211/ieee80211_ioctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c index 7f51c998dc5..fa2cb09259e 100644 --- a/sys/net80211/ieee80211_ioctl.c +++ b/sys/net80211/ieee80211_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_ioctl.c,v 1.66 2018/09/10 08:27:13 phessler Exp $ */ +/* $OpenBSD: ieee80211_ioctl.c,v 1.67 2018/09/10 11:07:43 phessler Exp $ */ /* $NetBSD: ieee80211_ioctl.c,v 1.15 2004/05/06 02:58:16 dyoung Exp $ */ /*- @@ -475,8 +475,6 @@ ieee80211_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) if (ieee80211_add_ess(ic, &join) == 0) ic->ic_flags |= IEEE80211_F_AUTO_JOIN; } - ieee80211_set_ess(ic, join.i_nwid, join.i_len); - error = ENETRESET; break; case SIOCG80211JOIN: memset(&join, 0, sizeof(join)); |