svn commit: r363328 - head/sys/dev/an

Adrian Chadd adrian at FreeBSD.org
Sun Jul 19 17:27:49 UTC 2020


Author: adrian
Date: Sun Jul 19 17:27:48 2020
New Revision: 363328
URL: https://svnweb.freebsd.org/changeset/base/363328

Log:
  [if_an] unbreak!
  
  .. I missed this when checking drivers.
  
  Differential Revision:	https://reviews.freebsd.org/D25723

Modified:
  head/sys/dev/an/if_an.c

Modified: head/sys/dev/an/if_an.c
==============================================================================
--- head/sys/dev/an/if_an.c	Sun Jul 19 16:07:51 2020	(r363327)
+++ head/sys/dev/an/if_an.c	Sun Jul 19 17:27:48 2020	(r363328)
@@ -2324,7 +2324,7 @@ an_ioctl(struct ifnet *ifp, u_long command, caddr_t da
 		}
 		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);


More information about the svn-src-head mailing list