Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2020 17:27:48 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363328 - head/sys/dev/an
Message-ID:  <202007191727.06JHRmRD036928@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007191727.06JHRmRD036928>