From patchwork Sat Feb 20 11:02:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Jenkins X-Patchwork-Id: 80928 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1KB2Vnv006704 for ; Sat, 20 Feb 2010 11:02:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753619Ab0BTLCb (ORCPT ); Sat, 20 Feb 2010 06:02:31 -0500 Received: from ey-out-2122.google.com ([74.125.78.27]:42596 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753344Ab0BTLCa (ORCPT ); Sat, 20 Feb 2010 06:02:30 -0500 Received: by ey-out-2122.google.com with SMTP id d26so225392eyd.19 for ; Sat, 20 Feb 2010 03:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=5dA1QCTPyZFjXQnhIX1UfaLSUyaXQUaGlX7ZVZEJGAI=; b=H8H4JCGgon2hUaQ48A/n+uhM7pMxuj1hpg6QyZVNLWl3TtOQ3Gg/z69A9zgKfosnxw XxZb0/WTkpEqe6csFttV1nNAcwjgHMIVCQEg+ZFvNTnf8f5glmx8nzH/81xyr52ML3t3 v0Z3AUD+56hIHltUQYZS6z88SIh647TV7K9kM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=rI0K940JhpOUL2vuJ8rpv8i8wfISkWG/pQ2soLbxrdPD/cu07p/qPGLAV2MlOxley3 bNUDp2VskpZ8BAXuMR99/qs/CGyjIGQadhWLLSnT2joOdOfPBKSn5t4tSvEZxABbgIIj GroJQ66pDExvB1keXsusOU7+07rOy8vn7IN7g= Received: by 10.213.109.217 with SMTP id k25mr6620153ebp.88.1266663748259; Sat, 20 Feb 2010 03:02:28 -0800 (PST) Received: from ?192.168.0.4? ([86.53.68.233]) by mx.google.com with ESMTPS id 16sm710118ewy.2.2010.02.20.03.02.26 (version=SSLv3 cipher=RC4-MD5); Sat, 20 Feb 2010 03:02:26 -0800 (PST) Message-ID: <4B7FC140.60501@tuffmail.co.uk> Date: Sat, 20 Feb 2010 11:02:24 +0000 From: Alan Jenkins User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: linux acpi CC: Corentin Chary , linux-kernel , stable@kernel.org, Ansgar Burchardt Subject: [PATCH] eeepc-laptop: disable wireless hotplug for 1005PE Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 20 Feb 2010 11:02:32 +0000 (UTC) diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index e2be6bb..6a47bb7 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) * 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"); }