btsocket: add support for connect()
The original code was written to allow binding to the HCI Control
socket of a specific adapter, and the Kernel mgmt_ops control socket,
and receiving OOB data using recvmsg().
It was then extended to deal with the missing support for the L2CAP,
RFCOMM and SCO address types when binding and creating a server-side
This now adds support for connecting to L2CAP, RFCOMM and SCO sockets
on remote devices.
TEST=s.connect(...) on a socket created by btsocket.socket()
2 files changed