From patchwork Wed Jan 6 21:07:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Chary X-Patchwork-Id: 71429 X-Patchwork-Delegate: lenb@kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o06L7nRP005450 for ; Wed, 6 Jan 2010 21:08:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932820Ab0AFVHw (ORCPT ); Wed, 6 Jan 2010 16:07:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932817Ab0AFVHv (ORCPT ); Wed, 6 Jan 2010 16:07:51 -0500 Received: from iksaif.net ([88.191.73.63]:34107 "EHLO iksaif.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932820Ab0AFVHs (ORCPT ); Wed, 6 Jan 2010 16:07:48 -0500 Received: from localhost.localdomain (lal69-3-82-241-209-44.fbx.proxad.net [82.241.209.44]) (Authenticated sender: corentincj@iksaif.net) by iksaif.net (Postfix) with ESMTPA id 4132AC90656; Wed, 6 Jan 2010 22:08:24 +0100 (CET) From: Corentin Chary To: Len Brown Cc: linux-acpi@vger.kernel.org, Corentin Chary Subject: [PATCH 5/5] eeepc-laptop: disable wireless hotplug for 1201N Date: Wed, 6 Jan 2010 22:07:41 +0100 Message-Id: <1262812061-4119-6-git-send-email-corentincj@iksaif.net> X-Mailer: git-send-email 1.6.6 In-Reply-To: <1262812061-4119-5-git-send-email-corentincj@iksaif.net> References: <1262812061-4119-1-git-send-email-corentincj@iksaif.net> <1262812061-4119-2-git-send-email-corentincj@iksaif.net> <1262812061-4119-3-git-send-email-corentincj@iksaif.net> <1262812061-4119-4-git-send-email-corentincj@iksaif.net> <1262812061-4119-5-git-send-email-corentincj@iksaif.net> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 8ee0cd1..a0bad0f 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"); }