summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-01-16 01:52:26 +0000
committeradrian <adrian@FreeBSD.org>2015-01-16 01:52:26 +0000
commit65188cf2f5d2c6f91d3f8a3237f49e570bcfb843 (patch)
tree3500de6968e5465177d44621149f959157824ee8
parent337910a604a28d70e8d353a7b767421502c6cafe (diff)
downloadFreeBSD-src-65188cf2f5d2c6f91d3f8a3237f49e570bcfb843.zip
FreeBSD-src-65188cf2f5d2c6f91d3f8a3237f49e570bcfb843.tar.gz
Check the right value correctly.
Thanks to clang for pointing out this silliness.
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index ab4f15e..bae4876 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 &&
OpenPOWER on IntegriCloud