Re: [PATCHv3 2/4] android: Add stub of get_remote_services command

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

 



Hi Marcin,

On Mon, Nov 04, 2013, Marcin Kraglak wrote:
> diff --git a/android/adapter.c b/android/adapter.c
> index 6f2a061..af62b11 100644
> --- a/android/adapter.c
> +++ b/android/adapter.c
> @@ -1459,6 +1459,11 @@ static uint8_t ssp_reply(void *buf, uint16_t len)
>  	return status;
>  }
>  
> +static uint8_t get_remote_services(void *buf, uint16_t len)
> +{
> +	return HAL_STATUS_UNSUPPORTED;
> +}
> +
>  void bt_adapter_handle_cmd(GIOChannel *io, uint8_t opcode, void *buf,
>  								uint16_t len)
>  {
> @@ -1563,6 +1568,11 @@ void bt_adapter_handle_cmd(GIOChannel *io, uint8_t opcode, void *buf,
>  			goto error;
>  
>  		break;
> +	case HAL_OP_GET_REMOTE_SERVICES:
> +		status = get_remote_services(buf, len);
> +		if (status != HAL_STATUS_SUCCESS)
> +			goto error;
> +		break;
>  	default:
>  		DBG("Unhandled command, opcode 0x%x", opcode);
>  		goto error;

The first two patches have been applied. I still need to do a more
thorough review of the other two before applying, and right this moment
I didn't have time for that.

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