]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commit8950ea30d7dbf6f7a719117d2c39bfe8cb22df9a
treebf10e260f0f461bf4f74fc9e2e8371a444cb33a6
parent33d8d400fad8ff1ff6937e024b84ad39af7271d8
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