aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index 4100b155531f..2bc461a610ad 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -924,13 +924,13 @@ int iwl_set_tx_power(struct iwl_priv *priv, s8 tx_power, bool force)
924{ 924{
925 int ret = 0; 925 int ret = 0;
926 if (tx_power < IWL_TX_POWER_TARGET_POWER_MIN) { 926 if (tx_power < IWL_TX_POWER_TARGET_POWER_MIN) {
927 IWL_WARNING("Requested user TXPOWER %d below limit.\n", 927 IWL_WARN(priv, "Requested user TXPOWER %d below limit.\n",
928 priv->tx_power_user_lmt); 928 priv->tx_power_user_lmt);
929 return -EINVAL; 929 return -EINVAL;
930 } 930 }
931 931
932 if (tx_power > IWL_TX_POWER_TARGET_POWER_MAX) { 932 if (tx_power > IWL_TX_POWER_TARGET_POWER_MAX) {
933 IWL_WARNING("Requested user TXPOWER %d above limit.\n", 933 IWL_WARN(priv, "Requested user TXPOWER %d above limit.\n",
934 priv->tx_power_user_lmt); 934 priv->tx_power_user_lmt);
935 return -EINVAL; 935 return -EINVAL;
936 } 936 }
@@ -1193,7 +1193,7 @@ void iwl_dump_nic_error_log(struct iwl_priv *priv)
1193 1193
1194 ret = iwl_grab_nic_access(priv); 1194 ret = iwl_grab_nic_access(priv);
1195 if (ret) { 1195 if (ret) {
1196 IWL_WARNING("Can not read from adapter at this time.\n"); 1196 IWL_WARN(priv, "Can not read from adapter at this time.\n");
1197 return; 1197 return;
1198 } 1198 }
1199 1199
@@ -1297,7 +1297,7 @@ void iwl_dump_nic_event_log(struct iwl_priv *priv)
1297 1297
1298 ret = iwl_grab_nic_access(priv); 1298 ret = iwl_grab_nic_access(priv);
1299 if (ret) { 1299 if (ret) {
1300 IWL_WARNING("Can not read from adapter at this time.\n"); 1300 IWL_WARN(priv, "Can not read from adapter at this time.\n");
1301 return; 1301 return;
1302 } 1302 }
1303 1303