commit | 0ad06aa6a7682319bb1adcc187a1fa8db6b2da2c | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Nov 11 14:44:57 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Nov 19 17:50:32 2015 +0100 |
tree | 01582ee7875e7ab6e4fe337260c986e004330785 | |
parent | 3dfe5905a7505bc0cbf5f63405631d8e188d9235 [diff] |
Bluetooth: Fix specifying role for LE connections The hci_connect_le_scan() is (as the name implies) a master/central role API, so it makes no sense in passing a role parameter to it. At the same time this patch also fixes the direct advertising support for LE L2CAP sockets where we now call the more appropriate hci_le_connect() API if slave/peripheral role is desired. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>