From: Corentin Chary Date: Wed, 6 Jan 2010 21:07:41 +0000 (+0100) Subject: eeepc-laptop: disable wireless hotplug for 1201N X-Git-Tag: firefly_0821_release~10186^2~1837 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9768e362e9e2631310c5e97e81b6d892a260dca3;p=firefly-linux-kernel-4.4.55.git eeepc-laptop: disable wireless hotplug for 1201N commit 4194e2f551a6308e6ab34ac88210bf54858aa7df upstream. [bwh: Backported to 2.6.32] Signed-off-by: Corentin Chary Signed-off-by: Len Brown 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 c5df42e560da..a8445bfe6ede 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -660,7 +660,7 @@ static void eeepc_dmi_check(void) * hotplug code. In fact, current hotplug code seems to unplug another * device... */ - if (strcmp(model, "1005HA") == 0) { + if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0) { ehotk->hotplug_disabled = true; pr_info("wlan hotplug disabled\n"); }