Bluetooth: Fix advertising handle is set to 0
authorTedd Ho-Jeong An <tedd.an@intel.com>
Fri, 1 May 2020 17:00:50 +0000 (10:00 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 11 May 2020 10:13:38 +0000 (12:13 +0200)
commiteaa7b7228ff7f8688623120bb0cd75d1490d5d04
tree0af69cfc1facf77d1a84929613cff52b5c01f9cd
parent4765db373ea34c7262e3467f8aaf4167dd1cdafa
Bluetooth: Fix advertising handle is set to 0

This patch fix the advertising handle is set to 0 regardless of actual
instance value. The affected commands are LE Set Advertising Set Random
Address, LE Set Extended Advertising Data, and LE Set Extended Scan
Response Data commands.

Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c