diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-rs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c index 8f85a0db5c39..32eb4709acac 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |||
@@ -342,7 +342,7 @@ void iwl3945_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, u8 s | |||
342 | struct ieee80211_supported_band *sband; | 342 | struct ieee80211_supported_band *sband; |
343 | int i; | 343 | int i; |
344 | 344 | ||
345 | IWL_DEBUG_INFO(priv, "enter \n"); | 345 | IWL_DEBUG_INFO(priv, "enter\n"); |
346 | if (sta_id == priv->hw_params.bcast_sta_id) | 346 | if (sta_id == priv->hw_params.bcast_sta_id) |
347 | goto out; | 347 | goto out; |
348 | 348 | ||
@@ -648,7 +648,7 @@ static void rs_get_rate(void *priv_r, struct ieee80211_sta *sta, | |||
648 | unsigned long flags; | 648 | unsigned long flags; |
649 | u16 rate_mask = sta ? sta->supp_rates[sband->band] : 0; | 649 | u16 rate_mask = sta ? sta->supp_rates[sband->band] : 0; |
650 | s8 max_rate_idx = -1; | 650 | s8 max_rate_idx = -1; |
651 | struct iwl_priv *priv = (struct iwl_priv *)priv_r; | 651 | struct iwl_priv *priv __maybe_unused = (struct iwl_priv *)priv_r; |
652 | struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); | 652 | struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); |
653 | 653 | ||
654 | IWL_DEBUG_RATE(priv, "enter\n"); | 654 | IWL_DEBUG_RATE(priv, "enter\n"); |