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

This notifies management sockets on MGMT_EV_ADV_MONITOR_ADDED event.

The following test was performed.
- Start two btmgmt consoles, issue a btmgmt advmon-add command on one
console and observe a MGMT_EV_ADV_MONITOR_ADDED 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