Linux bluetooth development
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Santiago Carot-Nemesio <sancane@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Get mode option for L2CAP sockets
Date: Mon, 18 Oct 2010 17:16:31 +0300	[thread overview]
Message-ID: <20101018141631.GA20917@jh-x301> (raw)
In-Reply-To: <1287408102-25344-1-git-send-email-sancane@gmail.com>

Hi,

On Mon, Oct 18, 2010, Santiago Carot-Nemesio wrote:
> ---
>  btio/btio.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/btio/btio.c b/btio/btio.c
> index 2f719b1..d8439e0 100644
> --- a/btio/btio.c
> +++ b/btio/btio.c
> @@ -839,6 +839,9 @@ static gboolean l2cap_get(int sock, GError **err, BtIOOption opt1,
>  			}
>  			memcpy(va_arg(args, uint8_t *), dev_class, 3);
>  			break;
> +		case BT_IO_OPT_MODE:
> +			*(va_arg(args, uint8_t *)) = l2o.mode;
> +			break;
>  		default:
>  			g_set_error(err, BT_IO_ERROR, BT_IO_ERROR_INVALID_ARGS,
>  					"Unknown option %d", opt);

Pushed upstream. Thanks.

Johan

      reply	other threads:[~2010-10-18 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18 13:21 [PATCH] Get mode option for L2CAP sockets Santiago Carot-Nemesio
2010-10-18 14:16 ` Johan Hedberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101018141631.GA20917@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=sancane@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox