]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: further optimise buffer expiry timer
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Sep 2011 12:13:06 +0000 (14:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:31 +0000 (13:56 -0400)
commitd285d27c791364df835134f32d6f3f2fe5f4d719
tree485d0b6c338aa07fc40b2dfc0901408e75b64852
parent5b93ba609f9eb4ee0cd5dbbfa5b864b7b611fe41
mac80211: further optimise buffer expiry timer

Juuso optimised the timer to not run all the
time in commit 79ca37c8c0a4de6ba241793b0225.
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