Date: Mon, 20 Jun 2016 08:18:17 GMT From: yuanxunzhang@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r305365 - soc2016/yuanxunzhang/head/sys/net Message-ID: <201606200818.u5K8IHSb073466@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang Date: Mon Jun 20 08:18:16 2016 New Revision: 305365 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=305365 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 08:17:29 2016 (r305364) +++ soc2016/yuanxunzhang/head/sys/net/eaps.c Mon Jun 20 08:18:16 2016 (r305365) @@ -241,6 +241,9 @@ static void eaps_init(void *xsc) { + struct eaps_softc *sc = (struct eaps_softc *)xsc; + struct ifnet *ifp = sc->sc_ifp; + if (ifp->if_drv_flags & IFF_DRV_RUNNING) return;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606200818.u5K8IHSb073466>