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>
Showing
- drivers/net/wireless/b43/b43.h 1 addition, 0 deletionsdrivers/net/wireless/b43/b43.h
- drivers/net/wireless/b43/main.c 5 additions, 2 deletionsdrivers/net/wireless/b43/main.c
- drivers/net/wireless/b43legacy/b43legacy.h 1 addition, 0 deletionsdrivers/net/wireless/b43legacy/b43legacy.h
- drivers/net/wireless/b43legacy/main.c 5 additions, 2 deletionsdrivers/net/wireless/b43legacy/main.c
Loading
Please register or sign in to comment