From: Emmanuel Grumbach Date: Thu, 31 Jan 2013 13:03:55 +0000 (+0200) Subject: iwlwifi: dvm: don't send HCMD in restart flow X-Git-Tag: v3.9-rc6~38^2~18^2^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d5d50ee596361566f7f84300117cba7d7672bc5;p=pandora-kernel.git iwlwifi: dvm: don't send HCMD in restart flow There is a race between the restart flow and the workers. The workers are cancelled after the fw is already killed and might send HCMD when there is fw to handle them. Simply check that there is a fw to which the HCMD can be sent before actually sending it. Cc: stable@vger.kernel.org Signed-off-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed