This change cleans up the ath5k LED code and converts it to use
the standard LED device class along with the rx/tx LED triggers
provided by mac80211.
Signed-off-by: Bob Copeland <[EMAIL PROTECTED]>
---
Final version with small correction to led_enable and select NEW_LEDS
drivers/net/wireless/at
I do have a micro-update to this after reading over it one last time.
I'll post a respin tonight.
>>tristate "Atheros 5xxx wireless cards support"
>>depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
>> + select MAC80211_LEDS
>> + select LEDS_CLASS
+ select NEW_L
2008/6/22 Bob Copeland <[EMAIL PROTECTED]>:
> Clean up the ath5k LED code and convert it to use the standard LED
> device class along with the rx/tx LED triggers provided by mac80211.
> This moves ath5k in line with other wireless drivers that have
> software LEDs.
>
> Signed-off-by: Bob Copeland <
>> -if ((ai->APList == NULL) &&
>> -(ai->APList = kmalloc(sizeof(APListRid), GFP_KERNEL)) == NULL)
>> +if (!ai->APList)
>> +ai->APList = kmalloc(sizeof(APListRid), GFP_KERNEL);
>> +if (!ai->APList)
>> return -ENOMEM;
>> -if ((ai->SSID == NULL) &&
>> -
Pavel Machek napsal(a):
> Small whitespace cleanups for wireless drivers
>
> Signed-off-by: Pavel Machek <[EMAIL PROTECTED]>
The ath5k part
Acked-by: Jiri Slaby <[EMAIL PROTECTED]>
Thanks!
> diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c
> index 32019fb..329be62 100644
>