PATCH ar9170usb LEDs are confused
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
net/wireless/ath/ar9170/led.c renamed from net/wireless/ath/ar9170/led_c_orig +4 -4
@@ -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;