Bluetooth: Fix updating the right variable in update_scan_rsp_data()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Oct 2013 12:31:07 +0000 (15:31 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2013 14:02:14 +0000 (07:02 -0700)
commiteb438b5f3065dc270484919e8b88486d0cff59d3
treecbb822f379e4b11e1ccf875c342b937df0e0a1bd
parentd3900cb25de21476758f1ae8b8d3e4602e3cd4ed
Bluetooth: Fix updating the right variable in update_scan_rsp_data()

This function should be operating on scan_rsp_data_len and scan_rsp_data
and not the advertising data variables.

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