Subject: Re: [PATCH] Bluetooth: depends on RFKILL

From: Marcel Holtmann <[email-masked]>
Date: Tue, 09 Jun 2009 17:22:24 +0200

Hi Alexander,

> Since commit "Bluetooth: Add native RFKILL soft-switch support for all
> devices" (611b30f74b5) bluetooth depends on RFKILL.
> 
> Signed-off-by: Alexander Beregalov <[email-masked]>
> ---
>  net/bluetooth/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
> index 7725da9..85ec71d 100644
> --- a/net/bluetooth/Kconfig
> +++ b/net/bluetooth/Kconfig
> @@ -3,7 +3,7 @@
>  #
>  
>  menuconfig BT
> -	depends on NET && !S390
> +	depends on NET && RFKILL && !S390
>  	tristate "Bluetooth subsystem support"
>  	help
>  	  Bluetooth is low-cost, low-power, short-range wireless technology

this patch is wrong. I think it just needs an extra

	depends on RFKILL || !RFKILL

It is fine to compile Bluetooth without RFKILL support.

Regards

Marcel