Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:58788 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069Ab0FLCDP (ORCPT ); Fri, 11 Jun 2010 22:03:15 -0400 MIME-Version: 1.0 In-Reply-To: <1276288163.3918.1.camel@jlt3.sipsolutions.net> References: <4c0f4326.0a41df0a.7bde.ffffeef2@mx.google.com> <1276286993.3918.0.camel@jlt3.sipsolutions.net> <1276288163.3918.1.camel@jlt3.sipsolutions.net> From: Dmytro Milinevskyy Date: Sat, 12 Jun 2010 05:02:53 +0300 Message-ID: Subject: Re: [ath5k-devel] [PATCH] [ath5k][leds] Ability to disable leds support. If leds support enabled do not force mac802.11 leds layer selection. To: Johannes Berg Cc: Bob Copeland , ath5k-devel@lists.ath5k.org, Kalle Valo , linux-wireless@vger.kernel.org, GeunSik Lim , Jiri Slaby , Greg Kroah-Hartman , "John W. Linville" , Keng-Yu Lin , netdev@vger.kernel.org, Jiri Kosina , Shahar Or , linux-kernel@vger.kernel.org, Luca Verdesca Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: In this case no way to control LEDs. If you turn LEDs support you can't tune them out, no? I believe that user should be able to chose whether LEDs support is needed or not. This is how done in intel wireless drivers. The driver should be tolerant. -- Dima On Fri, Jun 11, 2010 at 11:29 PM, Johannes Berg wrote: > On Fri, 2010-06-11 at 23:26 +0300, Dmytro Milinevskyy wrote: >> Generic LED class is not disabled so it's possible to control leds in sysfs. > > But if you turn off ATH5K_LEDS?? > > johannes > >