Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c14d4b8e authored by Corentin Chary's avatar Corentin Chary Committed by Matthew Garrett
Browse files

eeepc-wmi: respect wireless_hotplug setting

parent b7187265
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -748,6 +748,9 @@ static int eeepc_wmi_rfkill_init(struct eeepc_wmi *eeepc)
	if (result && result != -ENODEV)
		goto exit;

	if (!eeepc->hotplug_wireless)
		goto exit;

	result = eeepc_setup_pci_hotplug(eeepc);
	/*
	 * If we get -EBUSY then something else is handling the PCI hotplug -