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: NJohannes Berg <johannes@sipsolutions.net> Reported-by: NLuciano Roth Coelho <luciano.coelho@nokia.com> Reported-by: NAlban Browaeys <prahal@yahoo.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
Showing
想要评论请 注册 或 登录