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

Replaces the hard coded instance identifier in
get_current_adv_instance() with the actual current instance identifier
so that this method is prepared to work with more than one advertising
instance.

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