Bluetooth: mgmt: multi adv for enable_advertising()
authorFlorian Grandel <fgrandel@gmail.com>
Thu, 18 Jun 2015 01:16:42 +0000 (03:16 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Jun 2015 16:11:52 +0000 (18:11 +0200)
commit7b683b744ef9492e91dd849e0a7451f55661c9d7
tree905527f5bb135cdfce3a957dafdb5cb0a91db109
parentbea28e65994de7fda06eb5f76aef3d25bd9c135f
Bluetooth: mgmt: multi adv for enable_advertising()

Previously enable_advertising() would rely on
get_adv_instance_scan_rsp_len() which checked for a hard coded instance
identifier. This is being changed to check for the current advertising
instance's scan response length instead. The function is renamed
accordingly.

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