diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2008-12-18 21:37:33 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:17 -0500 |
commit | 15b1687cb4f45b87ddbe4dfc7759ff5bb69497d2 (patch) | |
tree | c4e3e70b0d9b7ba877e52cd0a5116c4411bbf8e1 /drivers/net/wireless/iwlwifi/iwl-rx.c | |
parent | 39aadf8c29ad959e823efca15381bea9d0770b1e (diff) |
iwlwifi: replace IWL_ERROR with IWL_ERR
IWL_ERR doesn't use hidden priv pointer.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index 18c630d74a3c..bc3febe74d68 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -894,7 +894,7 @@ static void iwl_pass_packet_to_mac80211(struct iwl_priv *priv, | |||
894 | rx_start = (struct iwl_rx_phy_res *)&priv->last_phy_res[1]; | 894 | rx_start = (struct iwl_rx_phy_res *)&priv->last_phy_res[1]; |
895 | 895 | ||
896 | if (!rx_start) { | 896 | if (!rx_start) { |
897 | IWL_ERROR("MPDU frame without a PHY data\n"); | 897 | IWL_ERR(priv, "MPDU frame without a PHY data\n"); |
898 | return; | 898 | return; |
899 | } | 899 | } |
900 | if (include_phy) { | 900 | if (include_phy) { |
@@ -1020,7 +1020,7 @@ void iwl_rx_reply_rx(struct iwl_priv *priv, | |||
1020 | } | 1020 | } |
1021 | 1021 | ||
1022 | if (!rx_start) { | 1022 | if (!rx_start) { |
1023 | IWL_ERROR("MPDU frame without a PHY data\n"); | 1023 | IWL_ERR(priv, "MPDU frame without a PHY data\n"); |
1024 | return; | 1024 | return; |
1025 | } | 1025 | } |
1026 | 1026 | ||