summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorFlorian Grandel <fgrandel@gmail.com>2015-06-18 03:16:46 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-06-18 18:11:52 +0200
commit847818d9c05f8951270600c0d3260871dbc23134 (patch)
tree64b2c6ab733b134910271ca920a94eb23671baf7 /net/packet
parent7816b82039b56308a0d685e97d4a9f4b52e239bd (diff)
downloadop-kernel-dev-847818d9c05f8951270600c0d3260871dbc23134.zip
op-kernel-dev-847818d9c05f8951270600c0d3260871dbc23134.tar.gz
Bluetooth: mgmt: multi adv for clear_adv_instances()
The clear_adv_instance() function could not clean up multiple advertising instances previously. It is being changed to provide both, a means to clean up a single instance and cleaning up all instances at once. An additional instance parameter is being introduced to achieve this. Passing in 0x00 to this parameter signifies that all instances should be cleaned up. This semantics has been chosen similarly to the semantics of the instance parameter in the remove_advertising() function. When removing a single instance the method also ensures that another instance will be scheduled if available. When the currently advertising method is being removed, it will be canceled immediately. Signed-off-by: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud