diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-sta.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index 412f66bac1af..41e9013c7427 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -168,7 +168,7 @@ static int iwl_send_add_sta(struct iwl_priv *priv, | |||
168 | break; | 168 | break; |
169 | default: | 169 | default: |
170 | ret = -EIO; | 170 | ret = -EIO; |
171 | IWL_WARNING("REPLY_ADD_STA failed\n"); | 171 | IWL_WARN(priv, "REPLY_ADD_STA failed\n"); |
172 | break; | 172 | break; |
173 | } | 173 | } |
174 | } | 174 | } |
@@ -204,7 +204,7 @@ static void iwl_set_ht_add_station(struct iwl_priv *priv, u8 index, | |||
204 | case WLAN_HT_CAP_SM_PS_DISABLED: | 204 | case WLAN_HT_CAP_SM_PS_DISABLED: |
205 | break; | 205 | break; |
206 | default: | 206 | default: |
207 | IWL_WARNING("Invalid MIMO PS mode %d\n", mimo_ps_mode); | 207 | IWL_WARN(priv, "Invalid MIMO PS mode %d\n", mimo_ps_mode); |
208 | break; | 208 | break; |
209 | } | 209 | } |
210 | 210 | ||
@@ -812,7 +812,7 @@ int iwl_remove_dynamic_key(struct iwl_priv *priv, | |||
812 | } | 812 | } |
813 | 813 | ||
814 | if (priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET) { | 814 | if (priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET) { |
815 | IWL_WARNING("Removing wrong key %d 0x%x\n", | 815 | IWL_WARN(priv, "Removing wrong key %d 0x%x\n", |
816 | keyconf->keyidx, key_flags); | 816 | keyconf->keyidx, key_flags); |
817 | spin_unlock_irqrestore(&priv->sta_lock, flags); | 817 | spin_unlock_irqrestore(&priv->sta_lock, flags); |
818 | return 0; | 818 | return 0; |
@@ -1069,7 +1069,8 @@ int iwl_get_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr) | |||
1069 | return priv->hw_params.bcast_sta_id; | 1069 | return priv->hw_params.bcast_sta_id; |
1070 | 1070 | ||
1071 | default: | 1071 | default: |
1072 | IWL_WARNING("Unknown mode of operation: %d\n", priv->iw_mode); | 1072 | IWL_WARN(priv, "Unknown mode of operation: %d\n", |
1073 | priv->iw_mode); | ||
1073 | return priv->hw_params.bcast_sta_id; | 1074 | return priv->hw_params.bcast_sta_id; |
1074 | } | 1075 | } |
1075 | } | 1076 | } |