diff options
Diffstat (limited to 'net/rfkill')
-rw-r--r-- | net/rfkill/rfkill-input.c | 2 | ||||
-rw-r--r-- | net/rfkill/rfkill.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/rfkill/rfkill-input.c b/net/rfkill/rfkill-input.c index 230e35c59786..9f746be58854 100644 --- a/net/rfkill/rfkill-input.c +++ b/net/rfkill/rfkill-input.c | |||
@@ -83,7 +83,7 @@ static DEFINE_RFKILL_TASK(rfkill_wlan, RFKILL_TYPE_WLAN); | |||
83 | static DEFINE_RFKILL_TASK(rfkill_bt, RFKILL_TYPE_BLUETOOTH); | 83 | static DEFINE_RFKILL_TASK(rfkill_bt, RFKILL_TYPE_BLUETOOTH); |
84 | 84 | ||
85 | static void rfkill_event(struct input_handle *handle, unsigned int type, | 85 | static void rfkill_event(struct input_handle *handle, unsigned int type, |
86 | unsigned int code, int down) | 86 | unsigned int code, int down) |
87 | { | 87 | { |
88 | if (type == EV_KEY && down == 1) { | 88 | if (type == EV_KEY && down == 1) { |
89 | switch (code) { | 89 | switch (code) { |
diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c index f3986d498b40..db3395bfbcfa 100644 --- a/net/rfkill/rfkill.c +++ b/net/rfkill/rfkill.c | |||
@@ -187,7 +187,7 @@ static ssize_t rfkill_claim_store(struct device *dev, | |||
187 | static struct device_attribute rfkill_dev_attrs[] = { | 187 | static struct device_attribute rfkill_dev_attrs[] = { |
188 | __ATTR(name, S_IRUGO, rfkill_name_show, NULL), | 188 | __ATTR(name, S_IRUGO, rfkill_name_show, NULL), |
189 | __ATTR(type, S_IRUGO, rfkill_type_show, NULL), | 189 | __ATTR(type, S_IRUGO, rfkill_type_show, NULL), |
190 | __ATTR(state, S_IRUGO, rfkill_state_show, rfkill_state_store), | 190 | __ATTR(state, S_IRUGO|S_IWUSR, rfkill_state_show, rfkill_state_store), |
191 | __ATTR(claim, S_IRUGO|S_IWUSR, rfkill_claim_show, rfkill_claim_store), | 191 | __ATTR(claim, S_IRUGO|S_IWUSR, rfkill_claim_show, rfkill_claim_store), |
192 | __ATTR_NULL | 192 | __ATTR_NULL |
193 | }; | 193 | }; |