aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index c96513bddb10..b8377efb3ba7 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1662,7 +1662,9 @@ void iwl_dump_nic_error_log(struct iwl_priv *priv)
1662 base = le32_to_cpu(priv->card_alive.error_event_table_ptr); 1662 base = le32_to_cpu(priv->card_alive.error_event_table_ptr);
1663 1663
1664 if (!priv->cfg->ops->lib->is_valid_rtc_data_addr(base)) { 1664 if (!priv->cfg->ops->lib->is_valid_rtc_data_addr(base)) {
1665 IWL_ERR(priv, "Not valid error log pointer 0x%08X\n", base); 1665 IWL_ERR(priv,
1666 "Not valid error log pointer 0x%08X for %s uCode\n",
1667 base, (priv->ucode_type == UCODE_INIT) ? "Init" : "RT");
1666 return; 1668 return;
1667 } 1669 }
1668 1670
@@ -1807,7 +1809,9 @@ void iwl_dump_nic_event_log(struct iwl_priv *priv, bool full_log)
1807 base = le32_to_cpu(priv->card_alive.log_event_table_ptr); 1809 base = le32_to_cpu(priv->card_alive.log_event_table_ptr);
1808 1810
1809 if (!priv->cfg->ops->lib->is_valid_rtc_data_addr(base)) { 1811 if (!priv->cfg->ops->lib->is_valid_rtc_data_addr(base)) {
1810 IWL_ERR(priv, "Invalid event log pointer 0x%08X\n", base); 1812 IWL_ERR(priv,
1813 "Invalid event log pointer 0x%08X for %s uCode\n",
1814 base, (priv->ucode_type == UCODE_INIT) ? "Init" : "RT");
1811 return; 1815 return;
1812 } 1816 }
1813 1817