Searched hist:f81f5b2db8692ff1d2d5f4db1fde58e67aa976a3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/bluetooth/ |
H A D | hci_sock.c | diff f81f5b2db8692ff1d2d5f4db1fde58e67aa976a3 Mon Aug 29 22:00:39 CDT 2016 Marcel Holtmann <marcel@holtmann.org> Bluetooth: Send control open and close messages for HCI raw sockets
When opening and closing HCI raw sockets their main usage is for legacy userspace. To track interaction with the modern mgmt interface, send open and close monitoring messages for these action.
The HCI raw sockets is special since it supports unbound ioctl operation and for that special case delay the notification message until at least one ioctl has been executed. The difference between a bound and unbound socket will be detailed by the fact the HCI index is present or not.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
|