From: Corentin Chary Date: Wed, 6 Jan 2010 21:07:41 +0000 (+0100) Subject: eeepc-laptop: disable wireless hotplug for 1201N X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4194e2f551a6308e6ab34ac88210bf54858aa7df;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git eeepc-laptop: disable wireless hotplug for 1201N Signed-off-by: Corentin Chary Signed-off-by: Len Brown --- diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index a959abdea3a7..e2be6bb33d92 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -1277,7 +1277,7 @@ static void eeepc_dmi_check(struct eeepc_laptop *eeepc) * 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) { eeepc->hotplug_disabled = true; pr_info("wlan hotplug disabled\n"); }