Search Linux Wireless

PATCH ar9170usb LEDs are confused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux