On Tuesday 16 September 2008 21:56:49 Larry Finger wrote:
> 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: Larry Finger <[EMAIL PROTECTED]>
> ---
> 
> John,
> 
> This is material for the next merge.


ACK

> Larry
> 
> 
> Index: wireless-testing/drivers/net/wireless/b43/rfkill.c
> ===================================================================
> --- wireless-testing.orig/drivers/net/wireless/b43/rfkill.c
> +++ wireless-testing/drivers/net/wireless/b43/rfkill.c
> @@ -188,6 +188,11 @@ void b43_rfkill_init(struct b43_wldev *d
>                       "The built-in radio LED will not work.\n");
>  #endif /* CONFIG_RFKILL_INPUT */
>  
> +#if !defined(CONFIG_RFKILL_INPUT) && !defined(CONFIG_RFKILL_INPUT_MODULE)
> +     b43warn(wl, "The rfkill-input subsystem is not available. "
> +             "The built-in radio LED will not work.\n");
> +#endif
> +
>       err = input_register_polled_device(rfk->poll_dev);
>       if (err)
>               goto err_unreg_rfk;
> 
> 



-- 
Greetings Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to