Bluetooth: Notify adv monitor removed event
authorMiao-chen Chou <mcchou@chromium.org>
Wed, 17 Jun 2020 14:39:17 +0000 (16:39 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 18 Jun 2020 10:12:06 +0000 (13:12 +0300)
commitcdde92e230719f77ac3a5f936e25ed4e01ec057f
treeefcecb4f1173dbb37d675052921e40d86408a032
parentb52729f27b1e3957bef7306d47abf9cd855524e7
Bluetooth: Notify adv monitor removed event

This notifies management sockets on MGMT_EV_ADV_MONITOR_REMOVED event.

The following test was performed.
- Start two btmgmt consoles, issue a btmgmt advmon-remove command on one
console and observe a MGMT_EV_ADV_MONITOR_REMOVED event on the other.

Signed-off-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c