Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2016 08:03:25 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r305361 - soc2016/yuanxunzhang/head/sys/net
Message-ID:  <201606200803.u5K83P7n046917@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang
Date: Mon Jun 20 08:03:25 2016
New Revision: 305361
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=305361

Log:
  EAPS: add functions for eaps interface initialization

Modified:
  soc2016/yuanxunzhang/head/sys/net/eaps.c

Modified: soc2016/yuanxunzhang/head/sys/net/eaps.c
==============================================================================
--- soc2016/yuanxunzhang/head/sys/net/eaps.c	Mon Jun 20 07:54:46 2016	(r305360)
+++ soc2016/yuanxunzhang/head/sys/net/eaps.c	Mon Jun 20 08:03:25 2016	(r305361)
@@ -252,9 +252,9 @@
 	if (ifp->if_drv_flags & IFF_DRV_RUNNING)
 		return;
 
-	BRIDGE_LOCK(sc);
+	EAPS_WLOCK(sc);
 	ifp->if_drv_flags |= IFF_DRV_RUNNING;
-	BRIDGE_UNLOCK(sc);
+	EAPS_WUNLOCK(sc);
 }
 
 



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