]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: Fix the HCI to MGMT status conversion table
authorYu Liu <yudiliu@google.com>
Mon, 19 Apr 2021 23:53:30 +0000 (16:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 08:01:09 +0000 (10:01 +0200)
commit7c11f1a46b94aa7b01272a2cfc13c4854ae5117e
tree2f380904dc0f513362d28d5f5425b5eba3d9bad5
parent0c6b8263fc357dcaf932c035dd5f745785927064
Bluetooth: Fix the HCI to MGMT status conversion table

[ Upstream commit 4ef36a52b0e47c80bbfd69c0cce61c7ae9f541ed ]

0x2B, 0x31 and 0x33 are reserved for future use but were not present in
the HCI to MGMT conversion table, this caused the conversion to be
incorrect for the HCI status code greater than 0x2A.

Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Yu Liu <yudiliu@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/mgmt.c