aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/common.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-02-13 05:23:29 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-22 14:51:17 -0500
commitbc269a8e2701aaa6c53553eaef9f0866ef03e703 (patch)
tree020437a850e7979faa3db5c9ba9780cdd6f93076 /drivers/net/wireless/iwlegacy/common.c
parentd87c771f47460f7ca943942d508f2b9bd223a7e0 (diff)
iwlegacy: s/S_RF_KILL_HW/S_RFKILL/g
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/common.c')
-rw-r--r--drivers/net/wireless/iwlegacy/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.c b/drivers/net/wireless/iwlegacy/common.c
index 872302a3f869..defe8d9a4f59 100644
--- a/drivers/net/wireless/iwlegacy/common.c
+++ b/drivers/net/wireless/iwlegacy/common.c
@@ -350,7 +350,7 @@ il_send_cmd_sync(struct il_priv *il, struct il_host_cmd *cmd)
350 } 350 }
351 } 351 }
352 352
353 if (test_bit(S_RF_KILL_HW, &il->status)) { 353 if (test_bit(S_RFKILL, &il->status)) {
354 IL_ERR("Command %s aborted: RF KILL Switch\n", 354 IL_ERR("Command %s aborted: RF KILL Switch\n",
355 il_get_cmd_string(cmd->id)); 355 il_get_cmd_string(cmd->id));
356 ret = -ECANCELED; 356 ret = -ECANCELED;
@@ -4890,9 +4890,9 @@ il_pci_resume(struct device *device)
4890 hw_rfkill = true; 4890 hw_rfkill = true;
4891 4891
4892 if (hw_rfkill) 4892 if (hw_rfkill)
4893 set_bit(S_RF_KILL_HW, &il->status); 4893 set_bit(S_RFKILL, &il->status);
4894 else 4894 else
4895 clear_bit(S_RF_KILL_HW, &il->status); 4895 clear_bit(S_RFKILL, &il->status);
4896 4896
4897 wiphy_rfkill_set_hw_state(il->hw->wiphy, hw_rfkill); 4897 wiphy_rfkill_set_hw_state(il->hw->wiphy, hw_rfkill);
4898 4898