]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: Fix Experimental Feature Changed event
authorTedd Ho-Jeong An <tedd.an@intel.com>
Wed, 6 Oct 2021 16:32:28 +0000 (09:32 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 7 Oct 2021 15:57:23 +0000 (17:57 +0200)
commit87e24a23c08df1cb33d3d38d43df955aa08de1d2
tree6d935ab3b6e62414dd54b7f9beb6486ade8be76f
parent6a53c4460aba128b22b771b5aa33edfd98a5b572
Bluetooth: mgmt: Fix Experimental Feature Changed event

This patch fixes the controller index in the Experimental Features
Changed event for the offload_codec and the quality_report features to
use the actual hdev index instead of non-controller index(0xffff) so the
client can receive the event and know which controller the event is for.

Fixes: 0656e9db0d371 ("Bluetooth: Add offload feature under experimental flag")
Fixes: b0731c8c20dc9 ("Bluetooth: Support the quality report events")
Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c