]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Store UUIDs in the same order that they were added
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 26 Jan 2013 22:31:27 +0000 (00:31 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 1 Feb 2013 17:50:16 +0000 (15:50 -0200)
commit59db49dd7429e5781e3d4a0ef7c79f0f3e13b6af
treee380c93a218101064437f7a3e307e75d8ed62e05
parentbab832a8e84aa89518d6bd10af9d28a11bd63d16
Bluetooth: Store UUIDs in the same order that they were added

We should be encoding UUIDs to the EIR data in the same order that they
were added to the kernel, i.e. each UUID should be added to the end of
the UUIDs list. This patch fixes the issue by using list_add_tail
instead of list_add for storing the UUIDs.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c