diff options
author | Shanyu Zhao <shanyu.zhao@intel.com> | 2010-04-27 22:05:15 -0700 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-05-10 15:08:51 -0700 |
commit | 459bc732abad5e461da9a06d82dfc0cb1119ef5a (patch) | |
tree | 532ee07df11f9e0f03f7400f23520d084f0652cb /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | 3d38f1731e3a8217e228fde0a4bfece865bc7901 (diff) | |
download | kernel_samsung_smdk4412-459bc732abad5e461da9a06d82dfc0cb1119ef5a.zip kernel_samsung_smdk4412-459bc732abad5e461da9a06d82dfc0cb1119ef5a.tar.gz kernel_samsung_smdk4412-459bc732abad5e461da9a06d82dfc0cb1119ef5a.tar.bz2 |
iwlwifi: dump firmware build info in error case
Dump the firmware version and build number in case of firmware SW
error. This would help firmware engineer analyze the error log.
Requested-by: Jay Sternberg <jay.e.sternberg@intel.com>
Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 0c3b984..d609414 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c @@ -1068,6 +1068,9 @@ void iwl_irq_handle_error(struct iwl_priv *priv) /* Cancel currently queued command. */ clear_bit(STATUS_HCMD_ACTIVE, &priv->status); + IWL_ERR(priv, "Loaded firmware version: %s\n", + priv->hw->wiphy->fw_version); + priv->cfg->ops->lib->dump_nic_error_log(priv); if (priv->cfg->ops->lib->dump_csr) priv->cfg->ops->lib->dump_csr(priv); |