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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <johan.hedberg@xxxxxxxxx>
> ---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux