diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2012-04-24 22:42:25 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-04-25 12:54:17 +0300 |
commit | ba801fcd67e4fa5169e8c8b73fd87b6c08fca335 (patch) | |
tree | 9940716139d6491a3a74600d87a4a74fc8a08e21 /lib/l2cap.h | |
parent | 7fa62589d025fcd438f1bf5af0c7fe53aaed3775 (diff) | |
download | bluez-ba801fcd67e4fa5169e8c8b73fd87b6c08fca335.tar.gz |
Add Bluetooth address type in sockaddr_l2
This patch adds the address type information to sockaddr_l2 structure,
allowing the userspace to inform the remote address type required for
LE Create Connection command.
Diffstat (limited to 'lib/l2cap.h')
-rw-r--r-- | lib/l2cap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/l2cap.h b/lib/l2cap.h index 5806aaab6..5ce94c4ee 100644 --- a/lib/l2cap.h +++ b/lib/l2cap.h @@ -43,6 +43,7 @@ struct sockaddr_l2 { unsigned short l2_psm; bdaddr_t l2_bdaddr; unsigned short l2_cid; + uint8_t l2_bdaddr_type; }; /* L2CAP socket options */ |