]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: multi adv for get_adv_instance_flags()
authorFlorian Grandel <fgrandel@gmail.com>
Thu, 18 Jun 2015 01:16:40 +0000 (03:16 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Jun 2015 16:11:51 +0000 (18:11 +0200)
commit952f50cc3285cb4e74df6fb6c74233b4f1ae8c56
tree8ac3581bcfbbb6af6194b43bce5598e8fc55bca4
parent9eb57e1519be9676f884eec4cf7860073cb23fa0
Bluetooth: mgmt: multi adv for get_adv_instance_flags()

The get_adv_instance_flags() would not work with instance identifiers
other than 0x01. This is being fixed so that arbitrary instance
identifiers can be dealt with while still correctly dealing with the
special case of the 0x00 identifier.

Signed-off-by: Florian Grandel <fgrandel@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c