From: Malte Gell <malte.gell@gmx.de>
To: linux-wireless@vger.kernel.org
Subject: PATCH ar9170usb LEDs are confused
Date: Thu, 1 Oct 2009 06:32:12 +0200 [thread overview]
Message-ID: <200910010632.12571.malte.gell@gmx.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
Hello,
I first noticed the LEDs are confused, when I ran my AVM Fritz USBN N under
Windows, where the LEDs had the right order. I made a little patch that put
the assoc and the tx LEDs in the right order.
That patch was built against compat-wireless-2009-09-29.
Regards
Malte
[-- Attachment #2: ar9170-led.patch --]
[-- Type: text/x-patch, Size: 643 bytes --]
--- drivers/net/wireless/ath/ar9170/led_c_orig 2009-10-01 05:55:55.000000000 +0200
+++ drivers/net/wireless/ath/ar9170/led.c 2009-10-01 06:02:26.000000000 +0200
@@ -161,13 +161,13 @@
INIT_DELAYED_WORK(&ar->led_work, ar9170_update_leds);
- err = ar9170_register_led(ar, 0, "tx",
- ieee80211_get_tx_led_name(ar->hw));
+ err = ar9170_register_led(ar, 0, "assoc",
+ ieee80211_get_assoc_led_name(ar->hw));
if (err)
goto fail;
- err = ar9170_register_led(ar, 1, "assoc",
- ieee80211_get_assoc_led_name(ar->hw));
+ err = ar9170_register_led(ar, 1, "tx",
+ ieee80211_get_tx_led_name(ar->hw));
if (err)
goto fail;
reply other threads:[~2009-10-01 4:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200910010632.12571.malte.gell@gmx.de \
--to=malte.gell@gmx.de \
--cc=linux-wireless@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox