Thread (2 messages) 2 messages, 2 authors, 2016-08-29

Re: [PATCH] Bluetooth: mgmt: Fix sending redundant event for Advertising Instance

flat view

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2016-08-29 04:26:24

Hi Johan,
When an Advertising Instance is removed, the Advertising Removed event
shouldn't be sent to the same socket that issued the Remove
Advertising command (it gets a command complete event instead). The
mgmt_advertising_removed() function already has a parameter for
skipping a specific socket, but there was no code to propagate the
right value to this parameter. This patch fixes the issue by making
sure the intermediate hci_req_clear_adv_instance() function gets the
socket pointer.

Signed-off-by: Johan Hedberg <redacted>
---
net/bluetooth/hci_request.c | 11 ++++++-----
net/bluetooth/hci_request.h |  5 +++--
net/bluetooth/mgmt.c        |  6 +++---
3 files changed, 12 insertions(+), 10 deletions(-)
patch has been applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help