mac80211: fix multi-use timer
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 10 Jul 2009 00:39:48 +0000 (02:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:10 +0000 (15:05 -0400)
commitca386f3137eb68621fadba546d9eb35ac2f82de3
treebfdb1ecabe0ca942fadec255a7c92ecac405f153
parent01a7e08436929271c6173b5daf3e193ef5b3561a
mac80211: fix multi-use timer

We have, sometimes, multiple things that want to
run but don't have their own timer. Introduce a
new function to mac80211's mlme run_again() that
makes sure that the timer will run again at the
_first_ needed time, use that function and also
properly reprogram the timer once it fired.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c