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)
commit3ff37e6b8cfcc57412320ec30f2b66d47f271cad
treee752c5771bcbb1b4832e1b108c529d7a05012d6f
parent286e0c83df948eef9f51d50ed68ec8a1bb5051e4
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