]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix local name in scan rsp
authorMichał Narajowski <michal.narajowski@codecoup.pl>
Wed, 5 Oct 2016 10:28:25 +0000 (12:28 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 6 Oct 2016 09:52:29 +0000 (11:52 +0200)
commit886c948de31728871f997535f88f1001432af671
tree4df2361cce3e715ab0cfa7bf6e4bbf4a35ec7853
parent8c3036c637b1ed1d056df7381c82217de70fb69b
Bluetooth: Fix local name in scan rsp

Use complete name if it fits. If not and there is short name
check if it fits. If not then use shortened name as prefix
of complete name.

Signed-off-by: Michał Narajowski <michal.narajowski@codecoup.pl>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c