Check the right value correctly.

Thanks to clang for pointing out this silliness.
This commit is contained in:
adrian 2015-01-16 01:52:26 +00:00
parent 337910a604
commit 65188cf2f5

View File

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