b43legacy: RF-kill support
This adds full support for the RFKILL button and the RFKILL LED trigger. This is a port to b43legacy of a patch by Michael Buesch <mb@bu3sch.de> for b43. Signed-off-by: Larry Finger<Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
David S. Miller
parent
ba48f7bb80
commit
93bb7f3a7b
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "debugfs.h"
|
||||
#include "leds.h"
|
||||
#include "rfkill.h"
|
||||
#include "phy.h"
|
||||
|
||||
|
||||
@@ -592,6 +593,9 @@ struct b43legacy_wl {
|
||||
u8 rng_initialized;
|
||||
char rng_name[30 + 1];
|
||||
|
||||
/* The RF-kill button */
|
||||
struct b43legacy_rfkill rfkill;
|
||||
|
||||
/* List of all wireless devices on this chip */
|
||||
struct list_head devlist;
|
||||
u8 nr_devs;
|
||||
@@ -667,6 +671,7 @@ struct b43legacy_wldev {
|
||||
struct b43legacy_led led_tx;
|
||||
struct b43legacy_led led_rx;
|
||||
struct b43legacy_led led_assoc;
|
||||
struct b43legacy_led led_radio;
|
||||
|
||||
/* Reason code of the last interrupt. */
|
||||
u32 irq_reason;
|
||||
|
Reference in New Issue
Block a user