diff options
author | 2017-11-06 11:34:29 +0000 | |
---|---|---|
committer | 2017-11-06 11:34:29 +0000 | |
commit | e5650b3fc58f34445fb5a0bd2ffe150351ddd33f (patch) | |
tree | 9da66d1bb4f1ceb550019b9e747e782aaa6dc299 /sys | |
parent | typo, surprised nobody noticed yet (diff) | |
download | wireguard-openbsd-e5650b3fc58f34445fb5a0bd2ffe150351ddd33f.tar.xz wireguard-openbsd-e5650b3fc58f34445fb5a0bd2ffe150351ddd33f.zip |
move a function declaration, so the whole net80211 stack can disable wep or wpa
OK stsp@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211_ioctl.c | 4 | ||||
-rw-r--r-- | sys/net80211/ieee80211_var.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c index 7431c968057..b33a89fd4cb 100644 --- a/sys/net80211/ieee80211_ioctl.c +++ b/sys/net80211/ieee80211_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_ioctl.c,v 1.56 2017/11/05 17:49:11 phessler Exp $ */ +/* $OpenBSD: ieee80211_ioctl.c,v 1.57 2017/11/06 11:34:29 phessler Exp $ */ /* $NetBSD: ieee80211_ioctl.c,v 1.15 2004/05/06 02:58:16 dyoung Exp $ */ /*- @@ -55,8 +55,6 @@ void ieee80211_node2req(struct ieee80211com *, const struct ieee80211_node *, struct ieee80211_nodereq *); void ieee80211_req2node(struct ieee80211com *, const struct ieee80211_nodereq *, struct ieee80211_node *); -void ieee80211_disable_wep(struct ieee80211com *); -void ieee80211_disable_rsn(struct ieee80211com *); void ieee80211_node2req(struct ieee80211com *ic, const struct ieee80211_node *ni, diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index 7417402daaf..593860863c1 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_var.h,v 1.80 2017/10/29 08:36:10 mpi Exp $ */ +/* $OpenBSD: ieee80211_var.h,v 1.81 2017/11/06 11:34:29 phessler Exp $ */ /* $NetBSD: ieee80211_var.h,v 1.7 2004/05/06 03:07:10 dyoung Exp $ */ /*- @@ -406,6 +406,8 @@ int ieee80211_setmode(struct ieee80211com *, enum ieee80211_phymode); enum ieee80211_phymode ieee80211_next_mode(struct ifnet *); enum ieee80211_phymode ieee80211_chan2mode(struct ieee80211com *, const struct ieee80211_channel *); +void ieee80211_disable_wep(struct ieee80211com *); +void ieee80211_disable_rsn(struct ieee80211com *); extern int ieee80211_cache_size; |