Linux wireless drivers development
 help / color / mirror / Atom feed
* PATCH ar9170usb LEDs are confused
@ 2009-10-01  4:32 Malte Gell
  0 siblings, 0 replies; only message in thread
From: Malte Gell @ 2009-10-01  4:32 UTC (permalink / raw)
  To: linux-wireless

[-- 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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-01  4:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01  4:32 PATCH ar9170usb LEDs are confused Malte Gell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox