mac80211: fix tim recalculation after PS response
authorFelix Fietkau <nbd@nbd.name>
Sun, 28 Aug 2016 11:10:37 +0000 (13:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Sep 2016 09:54:42 +0000 (11:54 +0200)
commit83843c80dcf11a78995d167255b03072a1e49c2c
treef9dfd841ddb98caeaf08fded9b89845d833c31c0
parent15543692a010192b4264ade0d45390e8bb3dc639
mac80211: fix tim recalculation after PS response

Handle the case where the mac80211 intermediate queues are empty and the
driver has buffered frames

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/sta_info.c