diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-04-19 10:12:52 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-19 16:41:42 -0400 |
commit | 3393a608c4979a94d1887efc05b792849d361a65 (patch) | |
tree | 0aceeb1e67fd23f82844086fcc5fb6c16b24dafc /tools | |
parent | 2aab4c273ad837fbcf2955aee32b9ec4706c2521 (diff) |
mac80211: Prevent running sta_cleanup timer unnecessarily
The sta_cleanup timer is used to periodically expire buffered frames from the
tx buf. The timer is executing periodically, regardless of the need for it.
This is wasting resources.
Fix this simply by not restarting the sta_cleanup timer if the tx buffer was
empty. Restart the timer when there is some more tx-traffic.
Cc: Janne Ylälehto <janne.ylalehto@nokia.com>
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions