Re: [PATCH 1/1] Makes FindAdapter() accept lower-case hex addresses

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

 



Hi Elvis,

On Tue, Jul 13, 2010, Elvis Pfützenreuter wrote:
> ---
>  src/manager.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/manager.c b/src/manager.c
> index cbbca1e..9b90cab 100644
> --- a/src/manager.c
> +++ b/src/manager.c
> @@ -337,7 +337,7 @@ static gint adapter_address_cmp(gconstpointer a, gconstpointer b)
>  	adapter_get_address(adapter, &bdaddr);
>  	ba2str(&bdaddr, addr);
>  
> -	return strcmp(addr, address);
> +	return strcasecmp(addr, address);

The patch is now upstream. Thanks.

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