]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove bogus mod_timer() call
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 26 May 2010 14:41:40 +0000 (16:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Jun 2010 18:10:44 +0000 (14:10 -0400)
commitc9a74b9045147fafcb3fb9e4f260e7467ebd0bad
tree00fbc70c2165082299c5516217c6c85e751017cc
parent446cecfa7fe962c799eb93c0eede0e971725d624
mac80211: remove bogus mod_timer() call

The IBSS code has a bogus mod_timer(..., 0) call,
we shouldn't ever pass a constant value to the
function since any constant value could be in the
future or the past.

However, invoking the timer here is not necessary
at all, since we just finished scanning and just
need to have the IBSS code run again from the
workqueue later, so factor out the work starting
and use that instead.

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