mac80211: further optimise buffer expiry timer
commitcd0b8d89c75233d8468f3c585e4e022f6779ac84
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Sep 2011 12:13:06 +0000 (6 14:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:31 +0000 (14 13:56 -0400)
tree485d0b6c338aa07fc40b2dfc0901408e75b64852
parent0eff8fcd290dc7f25d393fb3692e8e673babdeeb
mac80211: further optimise buffer expiry timer

Juuso optimised the timer to not run all the
time in commit 3393a608c4979a94d1887efc05b7.
However, after that it will still run once
more even if all frames just expired. Fixing
that also makes the function return value a
little clearer in the process.

Also, while at it, change the return value
to bool (instead of int).

Cc: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/sta_info.c