diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2008-12-18 21:37:32 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:16 -0500 |
commit | 39aadf8c29ad959e823efca15381bea9d0770b1e (patch) | |
tree | 302344b24ccacf38a4af759ec9c809d3b83110a0 /drivers/net/wireless/iwlwifi/iwl-rfkill.c | |
parent | 978785a3892b34448446e8c8a17f48454f1bdd6a (diff) |
iwlwifi: replace IWL_WARNING with IWL_WARN
IWL_WARN 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-rfkill.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rfkill.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rfkill.c b/drivers/net/wireless/iwlwifi/iwl-rfkill.c index 4b69da30665..cece1c56393 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rfkill.c +++ b/drivers/net/wireless/iwlwifi/iwl-rfkill.c | |||
@@ -62,7 +62,8 @@ static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state) | |||
62 | iwl_radio_kill_sw_disable_radio(priv); | 62 | iwl_radio_kill_sw_disable_radio(priv); |
63 | break; | 63 | break; |
64 | default: | 64 | default: |
65 | IWL_WARNING("we received unexpected RFKILL state %d\n", state); | 65 | IWL_WARN(priv, "we received unexpected RFKILL state %d\n", |
66 | state); | ||
66 | break; | 67 | break; |
67 | } | 68 | } |
68 | out_unlock: | 69 | out_unlock: |