mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 21:30:54 +07:00
eeepc-wmi: respect wireless_hotplug setting
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
b71872650f
commit
c14d4b8ea7
@ -748,6 +748,9 @@ static int eeepc_wmi_rfkill_init(struct eeepc_wmi *eeepc)
|
|||||||
if (result && result != -ENODEV)
|
if (result && result != -ENODEV)
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
|
if (!eeepc->hotplug_wireless)
|
||||||
|
goto exit;
|
||||||
|
|
||||||
result = eeepc_setup_pci_hotplug(eeepc);
|
result = eeepc_setup_pci_hotplug(eeepc);
|
||||||
/*
|
/*
|
||||||
* If we get -EBUSY then something else is handling the PCI hotplug -
|
* If we get -EBUSY then something else is handling the PCI hotplug -
|
||||||
|
Loading…
Reference in New Issue
Block a user