]> git.karo-electronics.de Git - karo-tx-linux.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)
commit0ef2c42f8c4e372bad16f67dc0f4b15b9be910f6
tree5d84f4caa2e422ac0b1e1fcf880d5a76773da2e0
parent9e8305b39bfa23a83b932007654097f4676c2ba2
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