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)
commit3a4d4aa2d38e5305b5e93dffdc9dd2f975129328
tree00fbc70c2165082299c5516217c6c85e751017cc
parent1f03baad4d0516f4bd3a4728d71ff00b01be930d
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