svn commit: r277228 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Fri Jan 16 01:52:27 UTC 2015


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 &&


More information about the svn-src-head mailing list