]> 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)
commit2753e0ea428c9f2f8402f3a31068a3cc4213f5c4
tree6d935ab3b6e62414dd54b7f9beb6486ade8be76f
parent77916ad72c48c605577d733eb1abe5c4349cb799
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: 10798e5e49ee7 ("Bluetooth: Add offload feature under experimental flag")
Fixes: 304b906bc59f0 ("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