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)
commit411b4121e3a38ff78695ae019642a9cab1babf12
tree8ac3581bcfbbb6af6194b43bce5598e8fc55bca4
parent3ff37e6b8cfcc57412320ec30f2b66d47f271cad
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