[RFC] d80211 LED handling

2006-08-11 Thread Johannes Berg
Attached (sorry, can't seem to figure out how to convince thunderbird to not mangle things under windows) is a patch to make d80211 have some LED triggers. However, I'm not sure where I should call the _init and _exit functions and if I really should be using the local struct. It seems I shoul

Re: [RFC] d80211 LED handling

2006-08-17 Thread Jiri Benc
On Fri, 11 Aug 2006 09:55:53 +0200, Johannes Berg wrote: > However, I'm not sure where I should call the _init and _exit functions > and if I really should be using the local struct. It seems I shouldn't > be and should be using the master interface directly or something. Leds are not interface-

Re: [RFC] d80211 LED handling

2006-08-17 Thread Johannes Berg
On Thu, 2006-08-17 at 17:30 +0200, Jiri Benc wrote: > How is the driver supposed to add its led handlers? The driver just adds an LED device. And then we only need to set the default trigger correctly. > Using generic led triggers is probably interesting for cases when system > has some separate