Bluetooth: Send control open and close messages for HCI raw sockets
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 30 Aug 2016 03:00:39 +0000 (05:00 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Sep 2016 16:34:26 +0000 (18:34 +0200)
commitb25be9f61638f61d659eefb7366acb5eee7a4060
treea505da5ab0169d5a77ecb21342327e67ae86537e
parent4818e88de8cced1141d0a257e85b42774d8c8256
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>
net/bluetooth/hci_sock.c
This page took 0.026048 seconds and 5 git commands to generate.