Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243063
b: refs/heads/master
c: 7898cf1
h: refs/heads/master
i:
  243061: 295f444
  243059: 739c7a1
  243055: ef622a7
v: v3
  • Loading branch information
Corentin Chary authored and Matthew Garrett committed Mar 28, 2011
1 parent 5bc39a0 commit f32147a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 279f8f95493c9aaa0a85520c863ccba87c4bf930
refs/heads/master: 7898cf1a3665d22c4d16308f73e981c6464be81b
8 changes: 7 additions & 1 deletion trunk/drivers/platform/x86/eeepc-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,14 @@ static int eeepc_rfkill_set(void *data, bool blocked)
{
int dev_id = (unsigned long)data;
u32 ctrl_param = !blocked;
acpi_status status;

status = eeepc_wmi_set_devstate(dev_id, ctrl_param, NULL);

if (ACPI_FAILURE(status))
return -EIO;

return eeepc_wmi_set_devstate(dev_id, ctrl_param, NULL);
return 0;
}

static void eeepc_rfkill_query(struct rfkill *rfkill, void *data)
Expand Down

0 comments on commit f32147a

Please sign in to comment.