From: "Justin P. Mattock" <justinmattock@gmail.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org, mcgrof@gmail.com
Subject: Re: [PATCH]wireless:ath9k Disable leds for Apple products.
Date: Wed, 26 May 2010 10:38:17 -0700 [thread overview]
Message-ID: <4BFD5C89.8000308@gmail.com> (raw)
In-Reply-To: <20100526171844.GB5823@tuxdriver.com>
On 05/26/2010 10:18 AM, John W. Linville wrote:
> On Wed, May 26, 2010 at 10:14:16AM -0700, Justin P. Mattock wrote:
>
>> Disable the leds on ath9k for Apple products, since
>> there is no leds on any of there machines(or non that I can find!!).
>>
>> Signed-off-by: Justin P. Mattock<justinmattock@gmail.com>
>>
>>
>
>> void ath_init_leds(struct ath_softc *sc)
>> {
>> char *trigger;
>> int ret;
>>
>> + /* Apple has no leds lights for their wireless. */
>> + if (dmi_check_system(dmi_system_table)> 0)
>> + return -ENODEV;
>> + else
>> +
>> if (AR_SREV_9287(sc->sc_ah))
>> sc->sc_ah->led_pin = ATH_LED_PIN_9287;
>> else
>>
> Surely we don't need the 'else'.
>
> Does enabling the LEDs on these systems cause any problems?
>
> John
>
I picked up the idea, from this patch:
http://kerneltrap.org/mailarchive/linux-kernel/2010/1/20/4530535
while looking into a bug for ath9k(thinking maybe leds
are causing something, which want the case)
so Id have to say I don't think the leds cause issue's,
if anything just a wasted symlink, call, or whatever
in /sys/class/leds/*
Justin P. mattock
next prev parent reply other threads:[~2010-05-26 17:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 17:14 [PATCH]wireless:ath9k Fix ath_print in xmit.c Justin P. Mattock
2010-05-26 17:14 ` [PATCH]wireless:ath9k Disable leds for Apple products Justin P. Mattock
2010-05-26 17:18 ` John W. Linville
2010-05-26 17:38 ` Justin P. Mattock [this message]
2010-05-26 21:05 ` Luis R. Rodriguez
2010-05-26 21:34 ` Justin P. Mattock
2010-05-26 21:42 ` Luis R. Rodriguez
2010-05-26 22:28 ` Justin P. Mattock
2010-05-26 17:19 ` Luis R. Rodriguez
2010-05-26 17:16 ` [PATCH]wireless:ath9k Fix ath_print in xmit.c Luis R. Rodriguez
2010-05-26 17:28 ` Arnd Hannemann
2010-05-26 17:49 ` Justin P. Mattock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BFD5C89.8000308@gmail.com \
--to=justinmattock@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.