aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2010-02-20 06:02:24 -0500
committerCorentin Chary <corentincj@iksaif.net>2010-02-28 13:30:57 -0500
commitced69c59811f05b2f8378467cbb82ac6ed3c6a5a (patch)
treec04aa13c6515acc483412cde498a9f832b4a2e27
parent409a415fa18f3bdb9bef616ac6abafd30a4f1415 (diff)
eeepc-laptop: disable wireless hotplug for 1005PE
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
-rw-r--r--drivers/platform/x86/eeepc-laptop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index e2be6bb33d92..6a47bb7066d8 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -1277,7 +1277,8 @@ static void eeepc_dmi_check(struct eeepc_laptop *eeepc)
1277 * hotplug code. In fact, current hotplug code seems to unplug another 1277 * hotplug code. In fact, current hotplug code seems to unplug another
1278 * device... 1278 * device...
1279 */ 1279 */
1280 if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0) { 1280 if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0 ||
1281 strcmp(model, "1005PE") == 0) {
1281 eeepc->hotplug_disabled = true; 1282 eeepc->hotplug_disabled = true;
1282 pr_info("wlan hotplug disabled\n"); 1283 pr_info("wlan hotplug disabled\n");
1283 } 1284 }