eeepc-laptop: disable wireless hotplug for 1201N
authorCorentin Chary <corentincj@iksaif.net>
Wed, 6 Jan 2010 21:07:41 +0000 (22:07 +0100)
committerLen Brown <len.brown@intel.com>
Sat, 16 Jan 2010 06:50:05 +0000 (01:50 -0500)
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c

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