Date: Thu, 18 Aug 2016 16:32:39 GMT From: yuanxunzhang@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r307964 - soc2016/yuanxunzhang/head/sys/net Message-ID: <201608181632.u7IGWdAU013385@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang Date: Thu Aug 18 16:32:39 2016 New Revision: 307964 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=307964 Log: EAPS: query eaps domian status Modified: soc2016/yuanxunzhang/head/sys/net/eaps.c Modified: soc2016/yuanxunzhang/head/sys/net/eaps.c ============================================================================== --- soc2016/yuanxunzhang/head/sys/net/eaps.c Thu Aug 18 16:02:40 2016 (r307963) +++ soc2016/yuanxunzhang/head/sys/net/eaps.c Thu Aug 18 16:32:39 2016 (r307964) @@ -257,10 +257,10 @@ eaps_attach(struct eaps_softc *es) { //set eaps domain protocol state to default value - EAPS_WLOCK(sc); + EAPS_WLOCK(es); es->state = EAPS_S_IDLE; es->active = EAPS_ACTIVE_DISABLE; - EAPS_WUNLOCK(sc); + EAPS_WUNLOCK(es); } void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608181632.u7IGWdAU013385>