]> 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)
commit7fc8a7b3de6d7c8a02e12a9243faf5583e81d8a1
treebf10e260f0f461bf4f74fc9e2e8371a444cb33a6
parente26130dd8acbc5e002a38f060f46646df6389bab
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