From 81a3f4a9349c5552638bc1fd62c974a9d56ab516 Mon Sep 17 00:00:00 2001 From: adrian Date: Sun, 19 Jul 2020 17:27:48 +0000 Subject: [PATCH] [if_an] unbreak! .. I missed this when checking drivers. Differential Revision: https://reviews.freebsd.org/D25723 --- sys/dev/an/if_an.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index 9eb9843f444..d8ec52be804 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -2324,7 +2324,7 @@ an_ioctl(struct ifnet *ifp, u_long command, caddr_t data) } break; case SIOCS80211: - if ((error = priv_check(td, PRIV_NET80211_MANAGE))) + if ((error = priv_check(td, PRIV_NET80211_VAP_MANAGE))) goto out; AN_LOCK(sc); sc->areq.an_len = sizeof(sc->areq); -- 2.45.0