commit | 85813a7ec774b982899c82f86c52cad47588f863 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Oct 21 18:02:59 2015 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Oct 21 18:35:00 2015 +0200 |
tree | 86e24683344ac07a237d858f717ac5afc8f103aa | |
parent | 8ce783dc5ea3af3a213ac9b4d9d2ccfeeb9c9058 [diff] |
Bluetooth: Add le_addr_type() helper function The mgmt code needs to convert from mgmt/L2CAP address types to HCI in many places. Having a dedicated helper function for this simplifies code by shortening it and removing unnecessary 'addr_type' variables. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>