aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-calib.c4
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-calib.c b/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
index 0f6bb9b2e642..39d1e47a0978 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
@@ -817,8 +817,8 @@ static void iwl_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig,
817 find_first_chain(priv->cfg->valid_tx_ant); 817 find_first_chain(priv->cfg->valid_tx_ant);
818 data->disconn_array[first_chain] = 0; 818 data->disconn_array[first_chain] = 0;
819 active_chains |= BIT(first_chain); 819 active_chains |= BIT(first_chain);
820 IWL_DEBUG_CALIB(priv, "All Tx chains are disconnected \ 820 IWL_DEBUG_CALIB(priv,
821 W/A - declare %d as connected\n", 821 "All Tx chains are disconnected W/A - declare %d as connected\n",
822 first_chain); 822 first_chain);
823 break; 823 break;
824 } 824 }
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 3ecc3198d9bf..08e3cae4fa5a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1766,7 +1766,7 @@ static const char *desc_lookup(u32 num)
1766 max = ARRAY_SIZE(advanced_lookup) - 1; 1766 max = ARRAY_SIZE(advanced_lookup) - 1;
1767 for (i = 0; i < max; i++) { 1767 for (i = 0; i < max; i++) {
1768 if (advanced_lookup[i].num == num) 1768 if (advanced_lookup[i].num == num)
1769 break;; 1769 break;
1770 } 1770 }
1771 return advanced_lookup[i].name; 1771 return advanced_lookup[i].name;
1772} 1772}