From: Johannes Berg Date: Wed, 6 Jan 2010 14:30:58 +0000 (+0100) Subject: mac80211: fix a few work bugs X-Git-Tag: v2.6.34-rc1~233^2~556^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81ac3462d346ee7aaf037a35156b0a7a354e98cf;p=pandora-kernel.git mac80211: fix a few work bugs Kalle and Lennert reported problems with the new work code, and at least Kalle's problem I was able to trace to a missing jiffies initialisation. I also ran into a problem where occasionally I couldn't connect, which seems fixed with kicking the work items after scanning. Finally, also add some sanity checking code to verify that we're not adding work items while an interface is down -- that case could lead to something similar to what Lennert was seeing. There still seems to be a race condition that we're trying to figure out separately. Signed-off-by: Johannes Berg Tested-by: Lennert Buytenhek Tested-by: Kalle Valo Signed-off-by: John W. Linville --- Reading git-diff-tree failed