commit | f4cdbb3f25c15c17a952deae1f2e0db6df8f1948 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Tue Aug 30 05:00:40 2016 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Sep 19 20:19:34 2016 +0200 |
tree | bf10e260f0f461bf4f74fc9e2e8371a444cb33a6 | |
parent | f81f5b2db8692ff1d2d5f4db1fde58e67aa976a3 [diff] |
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>