linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gustavo Padovan <padovan@profusion.mobi>
To: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/4] Bluetooth: Move SMP fields to a separate structure
Date: Fri, 2 Sep 2011 15:01:12 -0300	[thread overview]
Message-ID: <20110902180112.GE12684@joana> (raw)
In-Reply-To: <1313798415-8555-1-git-send-email-vinicius.gomes@openbossa.org>

Hi Vinicius,

* Vinicius Costa Gomes <vinicius.gomes@openbossa.org> [2011-08-19 21:00:12 -0300]:

> The objective is to make the core to have as little as possible
> information about SMP procedures and logic. Now, all the SMP
> specific information is hidden from the core.
> 
> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
> ---
>  include/net/bluetooth/hci_core.h |    2 -
>  include/net/bluetooth/l2cap.h    |   10 +--
>  net/bluetooth/hci_core.c         |    8 ---
>  net/bluetooth/smp.c              |  118 ++++++++++++++++++++-----------------
>  4 files changed, 67 insertions(+), 71 deletions(-)
> 
> diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
> index 6e68e43..cc1ea91 100644
> --- a/include/net/bluetooth/hci_core.h
> +++ b/include/net/bluetooth/hci_core.h
> @@ -195,8 +195,6 @@ struct hci_dev {
>  
>  	__u16			init_last_cmd;
>  
> -	struct crypto_blkcipher	*tfm;
> -
>  	struct inquiry_cache	inq_cache;
>  	struct hci_conn_hash	conn_hash;
>  	struct list_head	blacklist;
> diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
> index 6fa1140..00e42aa 100644
> --- a/include/net/bluetooth/l2cap.h
> +++ b/include/net/bluetooth/l2cap.h
> @@ -386,6 +386,8 @@ struct l2cap_ops {
>  	void			(*state_change) (void *data, int state);
>  };
>  
> +struct smp_chan;

Just define this on smp.h, it's easy.

	Gustavo

      parent reply	other threads:[~2011-09-02 18:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-20  0:00 [PATCH 1/4] Bluetooth: Move SMP fields to a separate structure Vinicius Costa Gomes
2011-08-20  0:00 ` [PATCH 2/4] Bluetooth: Add functions to initialize the SMP workqueue Vinicius Costa Gomes
2011-09-02 17:58   ` Gustavo Padovan
2011-08-20  0:00 ` [PATCH 3/4] Bluetooth: Initialize " Vinicius Costa Gomes
2011-08-22 14:05   ` Vinicius Costa Gomes
2011-08-25 22:23   ` [PATCH] " Vinicius Costa Gomes
2011-08-20  0:00 ` [PATCH 4/4] Bluetooth: Move SMP crypto functions to a workqueue Vinicius Costa Gomes
2011-09-02 18:01 ` Gustavo Padovan [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=20110902180112.GE12684@joana \
    --to=padovan@profusion.mobi \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=vinicius.gomes@openbossa.org \
    /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;
as well as URLs for NNTP newsgroup(s).