Date: Mon, 27 Feb 2012 08:57:03 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r232204 - head/sys/dev/pcn Message-ID: <201202270857.q1R8v3jQ007239@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Mon Feb 27 08:57:02 2012 New Revision: 232204 URL: http://svn.freebsd.org/changeset/base/232204 Log: Fix logic error Modified: head/sys/dev/pcn/if_pcn.c Modified: head/sys/dev/pcn/if_pcn.c ============================================================================== --- head/sys/dev/pcn/if_pcn.c Mon Feb 27 08:55:32 2012 (r232203) +++ head/sys/dev/pcn/if_pcn.c Mon Feb 27 08:57:02 2012 (r232204) @@ -966,7 +966,7 @@ pcn_tick(xsc) mii_tick(mii); /* link just died */ - if (sc->pcn_link & !(mii->mii_media_status & IFM_ACTIVE)) + if (sc->pcn_link && !(mii->mii_media_status & IFM_ACTIVE)) sc->pcn_link = 0; /* link just came up, restart */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202270857.q1R8v3jQ007239>