From: Alan Jenkins Date: Sat, 20 Feb 2010 11:02:24 +0000 (+0000) Subject: eeepc-laptop: disable wireless hotplug for 1005PE X-Git-Tag: firefly_0821_release~10186^2~1836 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=542ce471980faba988bbb51043b7d2ff4d848e80;p=firefly-linux-kernel-4.4.55.git eeepc-laptop: disable wireless hotplug for 1005PE commit ced69c59811f05b2f8378467cbb82ac6ed3c6a5a upstream. The wireless hotplug code is not needed on this model, and it disables the wired ethernet card. (Like on the 1005HA and 1201N). References: [bwh: Backported to 2.6.32] Signed-off-by: Alan Jenkins Reported-by: Ansgar Burchardt Cc: Ben Hutchings Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index a8445bfe6ede..329093ee0dd4 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -660,7 +660,8 @@ static void eeepc_dmi_check(void) * hotplug code. In fact, current hotplug code seems to unplug another * device... */ - if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0) { + if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0 || + strcmp(model, "1005PE") == 0) { ehotk->hotplug_disabled = true; pr_info("wlan hotplug disabled\n"); }