From: Johannes Berg Date: Thu, 23 Jul 2009 14:50:16 +0000 (+0200) Subject: mac80211: fix mlme timeouts X-Git-Tag: v2.6.32-rc1~703^2~506^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=485318471e85c1ddb5e3056fa30fdbbc46d759c6;p=pandora-kernel.git mac80211: fix mlme timeouts When a new MLME work is created, its timeout is initialised to 0. This is wrong, it could then be thought of as having an actual timeout in the future (time_is_after_jiffies() can return true). Instead, it should be initialised to jiffies so that it will run right away as soon as the mlme work is executed. Signed-off-by: Johannes Berg Reported-by: Luciano Roth Coelho Reported-by: Alban Browaeys Signed-off-by: John W. Linville --- Reading git-diff-tree failed