From 65188cf2f5d2c6f91d3f8a3237f49e570bcfb843 Mon Sep 17 00:00:00 2001 From: adrian Date: Fri, 16 Jan 2015 01:52:26 +0000 Subject: [PATCH] Check the right value correctly. Thanks to clang for pointing out this silliness. --- sys/dev/ath/if_ath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index ab4f15e10825..bae4876173ad 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -7024,7 +7024,7 @@ ath_tx_update_tim(struct ath_softc *sc, struct ieee80211_node *ni, /* * 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 &&