Bluetooth: Fix updating wrong instance's scan_rsp data
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 27 Nov 2015 08:52:39 +0000 (10:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Dec 2015 23:51:49 +0000 (00:51 +0100)
commitd6dac32e84e407ba15f257b5df2f4cb263005ab4
tree13f26ab0441f8d90614e81ef9a4623e9e98c9918
parent742c59516822f4a4bc23b0961d88c569a7f1bf71
Bluetooth: Fix updating wrong instance's scan_rsp data

The __hci_req_update_scan_rsp_data gets the instance to be updated
which should get passed to update_inst_scan_rsp_data() instead of
always enabling the current instance.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c