From 208b9eabb40e717d76852c2d4a6d51023a2b7630 Mon Sep 17 00:00:00 2001 From: Adrian Chadd 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 9eb9843f444f..d8ec52be8040 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);