eeepc-laptop: disable wireless hotplug for 1201N
authorCorentin Chary <corentincj@iksaif.net>
Wed, 6 Jan 2010 21:07:41 +0000 (22:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:23 +0000 (07:41 -0700)
commit 4194e2f551a6308e6ab34ac88210bf54858aa7df upstream.

[bwh: Backported to 2.6.32]

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/platform/x86/eeepc-laptop.c

index c5df42e560da5255d5e37615d752fe031a565257..a8445bfe6edea93cc8b30a49d3b135bfce388583 100644 (file)
@@ -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");
        }