mac80211: fix check for buffered powersave frames with txq
authorFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2016 13:09:15 +0000 (15:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 2 Aug 2016 07:50:26 +0000 (09:50 +0200)
commit4e3f21bc7bfbdc4a348852e4da1540227e1b0171
treeb93640102f469dd27355f1fa40e773a1ab0fb859
parent680682d4d537565e2c358483e1feeca30a8cf3d4
mac80211: fix check for buffered powersave frames with txq

The logic was inverted here, set the bit if frames are pending.

Fixes: ba8c3d6f16a1 ("mac80211: add an intermediate software queue implementation")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c