commit | 2d5d50ee596361566f7f84300117cba7d7672bc5 | [log] [tgz] |
---|---|---|
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Thu Jan 31 15:03:55 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Mar 20 12:10:57 2013 +0100 |
tree | b9006f547092838143a54615dceae9c0680e2156 | |
parent | 4620020b5d7ca34d1c03fa98b0ca457320cb7d71 [diff] |
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 <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>