iwlwifi: pcie: dump_stack upon timeout of SYNC cmd
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 10 Sep 2013 06:55:32 +0000 (09:55 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Oct 2013 16:00:46 +0000 (18:00 +0200)
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c

index f45eb29..a70a30e 100644 (file)
@@ -1529,6 +1529,7 @@ static int iwl_pcie_send_hcmd_sync(struct iwl_trans *trans,
                                "Error sending %s: time out after %dms.\n",
                                get_cmd_string(trans_pcie, cmd->id),
                                jiffies_to_msecs(HOST_COMPLETE_TIMEOUT));
+                       dump_stack();
 
                        IWL_ERR(trans,
                                "Current CMD queue read_ptr %d write_ptr %d\n",