From: David Woodhouse Date: Wed, 12 Dec 2007 22:38:56 +0000 (-0500) Subject: libertas: implement suspend and resume core methods X-Git-Tag: v2.6.25-rc1~1162^2~357 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab25ecaea5459f2206dbae25106cff67a24d309e;p=pandora-kernel.git libertas: implement suspend and resume core methods We (ab)use priv->fw_ready to stop the worker thread from sending more commands or data after the response to the HOST_SLEEP_ACTIVATE command comes in. And we set it from the callback function _directly_ to ensure that the worker thread sees it immediately; if we did it in lbs_suspend() after waking up, that might be too late. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville --- Reading git-diff-tree failed