commit | d9f88705a7ce2f9ef13d6656ee715493a663edfc | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Thu Dec 13 21:48:00 2007 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 15:07:26 2008 -0800 |
tree | f287e8ab83c28bc99e4c37fef08b56ed82fae12f | |
parent | 4ad36d780caf34630d1a4cc39f9bc11017f5b81d [diff] |
libertas: don't exit worker thread until kthread_stop() is called The kthread code can't cope with a thread exiting of its own accord and then someone calling kthread_stop() for it. When the thread detects that it needs to die, make it wait for kthread_stop() to be called. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>