]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: Add radio led trigger
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 7 Jan 2008 18:45:24 +0000 (19:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:04 +0000 (15:01 -0800)
commitcdcb006fbe7a74b5f7827f5c5c27e11399a2fab7
tree6141a5b4315775bea971d3457191071d36061822
parentdf26e7ea049abe5104062f1f3e9ee7ede9d5104f
mac80211: Add radio led trigger

Some devices have a seperate LED which indicates if the radio is
enabled or not. This adds a LED trigger to mac80211 where drivers
can hook into when they are interested in radio status changes.

v2: Check hw.conf.radio_enabled when calling start().

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/mac80211.h
net/mac80211/ieee80211.c
net/mac80211/ieee80211_i.h
net/mac80211/ieee80211_ioctl.c
net/mac80211/ieee80211_led.c
net/mac80211/ieee80211_led.h