Re: [PATCH v4 6/7] Bluetooth: Notify adv monitor removed event

From: Jakub Kicinski
Date: Mon Jun 15 2020 - 12:31:03 EST


On Fri, 12 Jun 2020 16:45:55 -0700 Miao-chen Chou wrote:
> 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@xxxxxxxxxxxx>


net/bluetooth/mgmt.c:4047:54: warning: incorrect type in argument 3 (different base types)
net/bluetooth/mgmt.c:4047:54: expected unsigned short [usertype] handle
net/bluetooth/mgmt.c:4047:54: got restricted __le16 [usertype] monitor_handle