Bluetooth: Fix not updating scan rsp when adv off
authorMichał Narajowski <michal.narajowski@codecoup.pl>
Thu, 22 Sep 2016 14:01:39 +0000 (16:01 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 22 Sep 2016 15:48:23 +0000 (17:48 +0200)
commit7dc6f16c68757548a332a0c5fbe661987c2189a9
tree181d0379a7c402f044c7bbfb6d969c7323ba9fda
parent1144a4eed04b2c3e7d20146d1b76f7669b55971d
Bluetooth: Fix not updating scan rsp when adv off

Scan response data should not be updated unless there
is an advertising instance.

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