b43/b43legacy: fix radio LED initialization
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 20 Jun 2009 17:58:11 +0000 (12:58 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Jul 2009 16:55:26 +0000 (12:55 -0400)
commitfd4973c56f8d9baac8d269791a90e5119ce30a0e
tree4bcb4a62e6e68b635e81650a78a849df7b641ae4
parent1f5fc70a250cc18f066072119e9fbbc20dad865f
b43/b43legacy: fix radio LED initialization

Fix condition in which radio LED did not initialize correctly, and remove
4 compilation warnings.

After the recent changes in rfkill, the radio LED used by b43/b43legacy
did not always initialize correctly.

Both b43 and b43legacy used the deprecated variable radio_enabled in
struct ieee80211_conf.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43legacy/b43legacy.h
drivers/net/wireless/b43legacy/main.c