OSDN Git Service

Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd
authorTedd Ho-Jeong An <tedd.an@intel.com>
Mon, 26 Jul 2021 20:22:36 +0000 (13:22 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 28 Jul 2021 22:42:24 +0000 (15:42 -0700)
commita25fca4d3c18766b6f7a3c95fa8faec23ef464c5
tree46bcdf7a82390580b31fc6a34ebb4b75ee35c47b
parent58ce6d5b271ab25fb2056f84a8e5546945eb5fc9
Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd

This patch fixes the MGMT add_advertising command repsones with the
wrong opcode when it is trying to return the not supported error.

Fixes: cbbdfa6f33198 ("Bluetooth: Enable controller RPA resolution using Experimental feature")
Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c