[if_an] unbreak!

.. I missed this when checking drivers.

Differential Revision:	https://reviews.freebsd.org/D25723
This commit is contained in:
Adrian Chadd 2020-07-19 17:27:48 +00:00
parent 78957abd9e
commit 208b9eabb4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363328

View File

@ -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);