]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Send control open and close only when cookie is present
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 30 Aug 2016 03:00:36 +0000 (05:00 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commitf1d23de4c97d45d679a25675955d2fa23cde6171
tree5d84f4caa2e422ac0b1e1fcf880d5a76773da2e0
parent60debf55f9a50e076522ad62ae74254e031401c7
Bluetooth: Send control open and close only when cookie is present

Only when the cookie has been assigned, then send the open and close
monitor messages. Also if the socket is bound to a device, then include
the index into the message.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_sock.c