diff options
-rw-r--r-- | drivers/net/wireless/b43/rfkill.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/b43legacy/rfkill.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/rfkill.c b/drivers/net/wireless/b43/rfkill.c index 4cca203992e..34ae125d538 100644 --- a/drivers/net/wireless/b43/rfkill.c +++ b/drivers/net/wireless/b43/rfkill.c | |||
@@ -135,7 +135,7 @@ void b43_rfkill_init(struct b43_wldev *dev) | |||
135 | snprintf(rfk->name, sizeof(rfk->name), | 135 | snprintf(rfk->name, sizeof(rfk->name), |
136 | "b43-%s", wiphy_name(wl->hw->wiphy)); | 136 | "b43-%s", wiphy_name(wl->hw->wiphy)); |
137 | rfk->rfkill->name = rfk->name; | 137 | rfk->rfkill->name = rfk->name; |
138 | rfk->rfkill->state = RFKILL_STATE_ON; | 138 | rfk->rfkill->state = RFKILL_STATE_UNBLOCKED; |
139 | rfk->rfkill->data = dev; | 139 | rfk->rfkill->data = dev; |
140 | rfk->rfkill->toggle_radio = b43_rfkill_soft_toggle; | 140 | rfk->rfkill->toggle_radio = b43_rfkill_soft_toggle; |
141 | rfk->rfkill->user_claim_unsupported = 1; | 141 | rfk->rfkill->user_claim_unsupported = 1; |
diff --git a/drivers/net/wireless/b43legacy/rfkill.c b/drivers/net/wireless/b43legacy/rfkill.c index 8935a302b22..b32bf6a94f1 100644 --- a/drivers/net/wireless/b43legacy/rfkill.c +++ b/drivers/net/wireless/b43legacy/rfkill.c | |||
@@ -139,7 +139,7 @@ void b43legacy_rfkill_init(struct b43legacy_wldev *dev) | |||
139 | snprintf(rfk->name, sizeof(rfk->name), | 139 | snprintf(rfk->name, sizeof(rfk->name), |
140 | "b43legacy-%s", wiphy_name(wl->hw->wiphy)); | 140 | "b43legacy-%s", wiphy_name(wl->hw->wiphy)); |
141 | rfk->rfkill->name = rfk->name; | 141 | rfk->rfkill->name = rfk->name; |
142 | rfk->rfkill->state = RFKILL_STATE_ON; | 142 | rfk->rfkill->state = RFKILL_STATE_UNBLOCKED; |
143 | rfk->rfkill->data = dev; | 143 | rfk->rfkill->data = dev; |
144 | rfk->rfkill->toggle_radio = b43legacy_rfkill_soft_toggle; | 144 | rfk->rfkill->toggle_radio = b43legacy_rfkill_soft_toggle; |
145 | rfk->rfkill->user_claim_unsupported = 1; | 145 | rfk->rfkill->user_claim_unsupported = 1; |