From patchwork Sun Nov 8 19:30:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lutomirski X-Patchwork-Id: 58585 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA8JUiwt015647 for ; Sun, 8 Nov 2009 19:30:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752278AbZKHTah (ORCPT ); Sun, 8 Nov 2009 14:30:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752048AbZKHTah (ORCPT ); Sun, 8 Nov 2009 14:30:37 -0500 Received: from fg-out-1718.google.com ([72.14.220.155]:24518 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751919AbZKHTag (ORCPT ); Sun, 8 Nov 2009 14:30:36 -0500 Received: by fg-out-1718.google.com with SMTP id e12so954033fga.1 for ; Sun, 08 Nov 2009 11:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=GI3+nMnypm8R5zRUjpEKqo5QHizPxft0JPRnsaPSyLk=; b=MF8DWiGKl8yiEWNVP7gzgTkwjdjjjFittIzqV0FOrnOkqrWWSYRMg8TVNxCIRXCf2T X952dgJEKyMbJtKNV+uYkA2T/SRRVkBNtHze4B4byBjUujUQYoTNfsJ3/iSPdxNQ2q22 AJ39xa5WtRH5ahvv+bAv1Ef3c7mYmvEGqTwuE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=jVswwWpb22eR39K2fGPXvh9Pypt8FThdQEVUT/JomvjCZKcsJiNFCWe1B6vyBqEkko x0A+Ie2zmEyu8+7KoNZDAbNBYhEhE8S/nbVsywj4Hen3pFOaj9M8VHu1WXe2PwlEDpws yXjC/AqkUE5LqmHSdXCiArvfqZeOuVsJh0U5k= MIME-Version: 1.0 Received: by 10.223.5.18 with SMTP id 18mr1021829fat.58.1257708641475; Sun, 08 Nov 2009 11:30:41 -0800 (PST) Date: Sun, 8 Nov 2009 14:30:41 -0500 X-Google-Sender-Auth: 9823d110474a3405 Message-ID: Subject: [PATCH] iwlcore: Allow runtime configuration of no_sleep_autoadjust From: Andrew Lutomirski To: ilw@linux.intel.com, linux-wireless@vger.kernel.org, reinette chatre Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index 60be976..4eba1ab 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c @@ -54,7 +54,7 @@ * adjusting ... */ bool no_sleep_autoadjust = true; -module_param(no_sleep_autoadjust, bool, S_IRUGO); +module_param(no_sleep_autoadjust, bool, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(no_sleep_autoadjust, "don't automatically adjust sleep level " "according to maximum network latency");