]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
eeepc-laptop: disable wireless hotplug for 1005PE
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Sat, 20 Feb 2010 11:02:24 +0000 (11:02 +0000)
committerCorentin Chary <corentincj@iksaif.net>
Sun, 28 Feb 2010 18:30:57 +0000 (19:30 +0100)
The wireless hotplug code is not needed on this model, and it disables
the wired ethernet card.  (Like on the 1005HA and 1201N).

References: <http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2010-February/003281.html>

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Reported-by: Ansgar Burchardt <ansgar@43-1.org>
CC: stable@kernel.org
drivers/platform/x86/eeepc-laptop.c

index e2be6bb33d9226a66986e8424f3f57f0b7b98c61..6a47bb7066d8587410938665bd5558d9795379b7 100644 (file)
@@ -1277,7 +1277,8 @@ 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 || strcmp(model, "1201N") == 0) {
+       if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0 ||
+           strcmp(model, "1005PE") == 0) {
                eeepc->hotplug_disabled = true;
                pr_info("wlan hotplug disabled\n");
        }