Fix BT for 16,1 by disabling read LE Min/Max Tx Power

This won't be upstreamed, but it works for us.
This commit is contained in:
Redecorating
2021-09-26 20:13:25 +10:00
parent 2d59443a7e
commit 265e82921b
@@ -0,0 +1,12 @@
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -742,7 +742,7 @@ static int hci_init3_req(struct hci_request *req, unsigned long opt)
hci_req_add(req, HCI_OP_LE_READ_ADV_TX_POWER, 0, NULL);
}
- if (hdev->commands[38] & 0x80) {
+ if (false) {
/* Read LE Min/Max Tx Power*/
hci_req_add(req, HCI_OP_LE_READ_TRANSMIT_POWER,
0, NULL);
--