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 f45eb29c2ede0b62cc1723f82ae7f30cc1f5a8ed..a70a30e2aeb0c0165279ed191e093a98b7a373c4 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",