From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This disables Coded PHY when HCI_PA_SYNC is enabled. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- net/bluetooth/hci_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c index ab609089ac4c..e7ac9a993a07 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -2786,7 +2786,7 @@ static int hci_le_set_ext_scan_param_sync(struct hci_dev *hdev, u8 type, phy++; } - if (scan_coded(hdev)) { + if (scan_coded(hdev) && !hci_dev_test_flag(hdev, HCI_PA_SYNC)) { cp->scanning_phys |= LE_SCAN_PHY_CODED; phy->type = type; -- 2.43.0