summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-01-15 13:06:44 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-01-15 16:54:14 +0100
commita250e048a7fb32c04366e3ed17707aa2be627f8a (patch)
tree3d9538c71c0ac55d85c9a21187dfc6c5dd942c17 /drivers/rtc
parent162a3bac8d007aae3d1ba9da9b0d0b9ecfef87cc (diff)
Bluetooth: Add helpers for src/dst bdaddr type conversion
The current bdaddr_type() usage in l2cap_core.c is a bit funny in that it's always passed a hci_conn + a hci_conn member. Because of this only the hci_conn is really needed. Since the second parameter is always either hcon->src_type or hcon->dst type this patch adds two helper functions for each purpose: bdaddr_src_type() and bdaddr_dst_type(). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions