Skip to content
Commit cd0b8d89 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: further optimise buffer expiry timer



Juuso optimised the timer to not run all the
time in commit 3393a608.
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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0eff8fcd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment