Commit fdd10974 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville
Browse files

b43: Issue warning when RFKILL_INPUT is not enabled

If the system is misconfigured with CONFIG_RFKILL set but CONFIG_RFKILL_INPUT
not set, the built-in radio LEDs will not work. In the current code, no warning
is issued.

Signed-off-by: default avatarLarry Finger <>
Signed-off-by: default avatarJohn W. Linville <>
parent e07aa378
......@@ -188,6 +188,11 @@ void b43_rfkill_init(struct b43_wldev *dev)
"The built-in radio LED will not work.\n");
b43warn(wl, "The rfkill-input subsystem is not available. "
"The built-in radio LED will not work.\n");
err = input_register_polled_device(rfk->poll_dev);
if (err)
goto err_unreg_rfk;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment