]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: add mgmt_cmd_status in add_advertising
authorJoseph Hwang <josephsih@chromium.org>
Tue, 10 Mar 2020 16:31:50 +0000 (09:31 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Mar 2020 14:33:56 +0000 (15:33 +0100)
commit40c29d54989865af662070eb3f4e2fc3e27e7888
treea3b408ec4acc7d705726241c5271b6985c301c08
parent28ff5bfbbed56c3ea428e650166eb85cbafa8bd9
Bluetooth: mgmt: add mgmt_cmd_status in add_advertising

If an error occurs during request building in add_advertising(),
remember to send MGMT_STATUS_FAILED command status back to bluetoothd.

Signed-off-by: Joseph Hwang <josephsih@chromium.org>
Signed-off-by: Manish Mandlik <mmandlik@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c