aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-rfkill.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-10-24 02:48:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:02:28 -0400
commita96a27f97f2bbfc1fca54bc3c0b0d41484152740 (patch)
treef9f6611156a01fbe97b38fb92aa078b2fc01d929 /drivers/net/wireless/iwlwifi/iwl-rfkill.c
parent127901ab69bbb263fb2b46e850cf20c57ac321d3 (diff)
iwlwifi: run through spell checker
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rfkill.c b/drivers/net/wireless/iwlwifi/iwl-rfkill.c
index 5d642298f04c..618841a53b90 100644
--- a/drivers/net/wireless/iwlwifi/iwl-rfkill.c
+++ b/drivers/net/wireless/iwlwifi/iwl-rfkill.c
@@ -64,7 +64,7 @@ static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state)
64 iwl_radio_kill_sw_disable_radio(priv); 64 iwl_radio_kill_sw_disable_radio(priv);
65 break; 65 break;
66 default: 66 default:
67 IWL_WARNING("we recieved unexpected RFKILL state %d\n", state); 67 IWL_WARNING("we received unexpected RFKILL state %d\n", state);
68 break; 68 break;
69 } 69 }
70out_unlock: 70out_unlock:
@@ -83,7 +83,7 @@ int iwl_rfkill_init(struct iwl_priv *priv)
83 IWL_DEBUG_RF_KILL("Initializing RFKILL.\n"); 83 IWL_DEBUG_RF_KILL("Initializing RFKILL.\n");
84 priv->rfkill = rfkill_allocate(device, RFKILL_TYPE_WLAN); 84 priv->rfkill = rfkill_allocate(device, RFKILL_TYPE_WLAN);
85 if (!priv->rfkill) { 85 if (!priv->rfkill) {
86 IWL_ERROR("Unable to allocate rfkill device.\n"); 86 IWL_ERROR("Unable to allocate RFKILL device.\n");
87 ret = -ENOMEM; 87 ret = -ENOMEM;
88 goto error; 88 goto error;
89 } 89 }
@@ -99,7 +99,7 @@ int iwl_rfkill_init(struct iwl_priv *priv)
99 99
100 ret = rfkill_register(priv->rfkill); 100 ret = rfkill_register(priv->rfkill);
101 if (ret) { 101 if (ret) {
102 IWL_ERROR("Unable to register rfkill: %d\n", ret); 102 IWL_ERROR("Unable to register RFKILL: %d\n", ret);
103 goto free_rfkill; 103 goto free_rfkill;
104 } 104 }
105 105
@@ -127,7 +127,7 @@ void iwl_rfkill_unregister(struct iwl_priv *priv)
127} 127}
128EXPORT_SYMBOL(iwl_rfkill_unregister); 128EXPORT_SYMBOL(iwl_rfkill_unregister);
129 129
130/* set rf-kill to the right state. */ 130/* set RFKILL to the right state. */
131void iwl_rfkill_set_hw_state(struct iwl_priv *priv) 131void iwl_rfkill_set_hw_state(struct iwl_priv *priv)
132{ 132{
133 if (!priv->rfkill) 133 if (!priv->rfkill)