Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296981
b: refs/heads/master
c: 26594dd
h: refs/heads/master
i:
  296979: b6e0bf4
v: v3
  • Loading branch information
Corentin Chary authored and Matthew Garrett committed Mar 20, 2012
1 parent a2de6dd commit 892753d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 3c8671ffd334cfb692089ec00141b56d5a796ae7
refs/heads/master: 26594dd47669ec213297b25fae20cdbb21f877b8
6 changes: 4 additions & 2 deletions trunk/drivers/platform/x86/asus-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1361,14 +1361,16 @@ static int asus_rfkill_init(struct asus_laptop *asus)
goto exit;


if (asus->wled_type == TYPE_RFKILL)
if (!acpi_check_handle(asus->handle, METHOD_WLAN, NULL) &&
asus->wled_type == TYPE_RFKILL)
result = asus_rfkill_setup(asus, &asus->wlan, "asus-wlan",
WL_RSTS, RFKILL_TYPE_WLAN,
&asus_rfkill_ops);
if (result)
goto exit;

if (asus->bled_type == TYPE_RFKILL)
if (!acpi_check_handle(asus->handle, METHOD_BLUETOOTH, NULL) &&
asus->bled_type == TYPE_RFKILL)
result = asus_rfkill_setup(asus, &asus->bluetooth,
"asus-bluetooth", BT_RSTS,
RFKILL_TYPE_BLUETOOTH,
Expand Down

0 comments on commit 892753d

Please sign in to comment.