Bluetooth: Handle HCI raw socket transition from unbound to bound
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 30 Aug 2016 03:00:40 +0000 (05:00 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Sep 2016 16:34:26 +0000 (18:34 +0200)
commit7896ebe69807569220b87da5650cdfd5b038cf30
tree1d42c3cdf9c18f415339040fe45158094491cd3c
parentb25be9f61638f61d659eefb7366acb5eee7a4060
Bluetooth: Handle HCI raw socket transition from unbound to bound

In case an unbound HCI raw socket is later on bound, ensure that the
monitor notification messages indicate a close and re-open. None of
the userspace tools use the socket this, but it is actually possible
to use an ioctl on an unbound socket and then later bind it.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_sock.c
This page took 0.02515 seconds and 5 git commands to generate.