Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2015 01:52:27 +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: r277228 - head/sys/dev/ath
Message-ID:  <201501160152.t0G1qRZd037617@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Fri Jan 16 01:52:26 2015
New Revision: 277228
URL: https://svnweb.freebsd.org/changeset/base/277228

Log:
  Check the right value correctly.
  
  Thanks to clang for pointing out this silliness.

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Fri Jan 16 01:39:24 2015	(r277227)
+++ head/sys/dev/ath/if_ath.c	Fri Jan 16 01:52:26 2015	(r277228)
@@ -7024,7 +7024,7 @@ ath_tx_update_tim(struct ath_softc *sc, 
 		/*
 		 * Don't bother grabbing the lock unless the queue is empty.
 		 */
-		if (&an->an_swq_depth != 0)
+		if (an->an_swq_depth != 0)
 			return;
 
 		if (an->an_is_powersave &&



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