diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-rs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c index a4f4c8798a83..b0d28ae0b324 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |||
@@ -646,6 +646,7 @@ static struct ieee80211_rate *rs_get_rate(void *priv_rate, | |||
646 | struct sta_info *sta; | 646 | struct sta_info *sta; |
647 | u16 fc, rate_mask; | 647 | u16 fc, rate_mask; |
648 | struct iwl_priv *priv = (struct iwl_priv *)priv_rate; | 648 | struct iwl_priv *priv = (struct iwl_priv *)priv_rate; |
649 | DECLARE_MAC_BUF(mac); | ||
649 | 650 | ||
650 | IWL_DEBUG_RATE("enter\n"); | 651 | IWL_DEBUG_RATE("enter\n"); |
651 | 652 | ||
@@ -681,8 +682,8 @@ static struct ieee80211_rate *rs_get_rate(void *priv_rate, | |||
681 | u8 sta_id = iwl_hw_find_station(priv, hdr->addr1); | 682 | u8 sta_id = iwl_hw_find_station(priv, hdr->addr1); |
682 | 683 | ||
683 | if (sta_id == IWL_INVALID_STATION) { | 684 | if (sta_id == IWL_INVALID_STATION) { |
684 | IWL_DEBUG_RATE("LQ: ADD station " MAC_FMT "\n", | 685 | IWL_DEBUG_RATE("LQ: ADD station %s\n", |
685 | MAC_ARG(hdr->addr1)); | 686 | print_mac(mac, hdr->addr1)); |
686 | sta_id = iwl_add_station(priv, | 687 | sta_id = iwl_add_station(priv, |
687 | hdr->addr1, 0, CMD_ASYNC); | 688 | hdr->addr1, 0, CMD_ASYNC); |
688 | } | 689 | } |