aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c
index 7ca5627cc078..8a00245be51e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
@@ -759,7 +759,6 @@ u8 iwl3945_hw_find_station(struct iwl3945_priv *priv, const u8 *addr)
759 int i; 759 int i;
760 int ret = IWL_INVALID_STATION; 760 int ret = IWL_INVALID_STATION;
761 unsigned long flags; 761 unsigned long flags;
762 DECLARE_MAC_BUF(mac);
763 762
764 spin_lock_irqsave(&priv->sta_lock, flags); 763 spin_lock_irqsave(&priv->sta_lock, flags);
765 for (i = IWL_STA_ID; i < priv->hw_setting.max_stations; i++) 764 for (i = IWL_STA_ID; i < priv->hw_setting.max_stations; i++)
@@ -770,8 +769,8 @@ u8 iwl3945_hw_find_station(struct iwl3945_priv *priv, const u8 *addr)
770 goto out; 769 goto out;
771 } 770 }
772 771
773 IWL_DEBUG_INFO("can not find STA %s (total %d)\n", 772 IWL_DEBUG_INFO("can not find STA %pM (total %d)\n",
774 print_mac(mac, addr), priv->num_stations); 773 addr, priv->num_stations);
775 out: 774 out:
776 spin_unlock_irqrestore(&priv->sta_lock, flags); 775 spin_unlock_irqrestore(&priv->sta_lock, flags);
777 return ret; 776 return ret;