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)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:25 +0000 (07:12 +0200)
commit4ef36a52b0e47c80bbfd69c0cce61c7ae9f541ed
tree641349a8f7c39a11f0fa618cf65291c27b7206ba
parent3cfdf8fcaafa62a4123f92eb0f4a72650da3a479
Bluetooth: Fix the HCI to MGMT status conversion table

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>
net/bluetooth/mgmt.c