Re: [PATCH 1/3] Do not exit if adapter_ops setup fails.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alok,

On Mon, May 04, 2009, alokbarsode@xxxxxxxxx wrote:
> @@ -412,10 +412,7 @@ int main(int argc, char *argv[])
>  
>  	event_loop = g_main_loop_new(NULL, FALSE);
>  
> -	if (adapter_ops_setup() < 0) {
> -		error("adapter_ops_setup failed");
> -		exit(1);
> -	}
> +	adapter_ops_setup();
>  
>  	starting = FALSE;

Do we really want this behavior? At the very least there should be a loud
error() in the case the adapter_ops_setup fails. Marcel, any opinion?

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux