From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Andre Guedes To: linux-bluetooth@vger.kernel.org Cc: Andre Guedes Subject: [PATCH v2 07/11] Bluetooth: Add 'dst_type' field to struct hci_conn Date: Fri, 20 May 2011 21:10:41 -0300 Message-Id: <1305936645-15007-7-git-send-email-andre.guedes@openbossa.org> In-Reply-To: <1305936645-15007-1-git-send-email-andre.guedes@openbossa.org> References: <1305936645-15007-1-git-send-email-andre.guedes@openbossa.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: This patch adds a new field (dst_type) to the struct hci_conn which holds the type of the destination address (bdaddr_t dst). This approach is needed in order to use the struct hci_conn as an abstraction of LE connections in HCI Layer. Signed-off-by: Andre Guedes --- include/net/bluetooth/hci_core.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index af4b0ed..539eb85 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -224,6 +224,7 @@ struct hci_conn { spinlock_t lock; bdaddr_t dst; + __u8 dst_type; __u16 handle; __u16 state; __u8 mode; -- 1.7.4.1