diff options
author | adrian <adrian@FreeBSD.org> | 2015-01-16 01:52:26 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-01-16 01:52:26 +0000 |
commit | 65188cf2f5d2c6f91d3f8a3237f49e570bcfb843 (patch) | |
tree | 3500de6968e5465177d44621149f959157824ee8 | |
parent | 337910a604a28d70e8d353a7b767421502c6cafe (diff) | |
download | FreeBSD-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.c | 2 |
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 && |