]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: dry update_scan_rsp_data()
authorFlorian Grandel <fgrandel@gmail.com>
Thu, 18 Jun 2015 01:16:36 +0000 (03:16 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Jun 2015 16:11:51 +0000 (18:11 +0200)
commita4a5988e001d378a3022d43db68b503780189d1e
tree693594f0a6c431fa23ec12d0fcb339d76f495684
parentc62e39cdb6de573b028a7e14d57d2232cf50d157
Bluetooth: mgmt: dry update_scan_rsp_data()

update_scan_rsp_data() duplicates code from get_current_adv_instance().
This is being fixed by letting the former make use of the latter.

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