Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181840
b: refs/heads/master
c: ec1722a
h: refs/heads/master
v: v3
  • Loading branch information
Mario Limonciello authored and Matthew Garrett committed Feb 25, 2010
1 parent c13adf3 commit 244f484
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e551260b233e8dcbdc9d5f238ad4aa1200dc2ea7
refs/heads/master: ec1722a21491e4c354bc3bbc704fef9a8fa811fb
4 changes: 4 additions & 0 deletions trunk/drivers/platform/x86/dell-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ static int dell_rfkill_set(void *data, bool blocked)
unsigned long radio = (unsigned long)data;

memset(&buffer, 0, sizeof(struct calling_interface_buffer));
dell_send_request(&buffer, 17, 11);
if (!(buffer.output[1] & BIT(16)))
return -EINVAL;

buffer.input[0] = (1 | (radio<<8) | (disable << 16));
dell_send_request(&buffer, 17, 11);

Expand Down

0 comments on commit 244f484

Please sign in to comment.