* [PATCH] Bluetooth: hci_conn: Fix default RX PHY initialization
@ 2026-10-14 2:01 Jackie Liu
0 siblings, 0 replies; only message in thread
From: Jackie Liu @ 2026-10-14 2:01 UTC (permalink / raw)
To: marcel; +Cc: luiz.dentz, linux-bluetooth, linux-kernel
From: Jackie Liu <liuyun01@kylinos.cn>
Initialize the connection's default RX PHYs from hdev->le_rx_def_phys
instead of the TX defaults, which may differ from the RX configuration.
Fixes: 129d1ef3c5e6 ("Bluetooth: hci_conn: Fix using conn->le_{tx,rx}_phy as supported PHYs")
Reported-by: k2ci <kernel-bot@kylinos.cn>
Cc: stable@vger.kernel.org
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
---
net/bluetooth/hci_conn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
index 96195d2fd10f..c8fd3e2c79bd 100644
--- a/net/bluetooth/hci_conn.c
+++ b/net/bluetooth/hci_conn.c
@@ -1102,7 +1102,7 @@ static struct hci_conn *__hci_conn_add(struct hci_dev *hdev, int type,
* remote features are resolved.
*/
conn->le_tx_def_phys = hdev->le_tx_def_phys;
- conn->le_rx_def_phys = hdev->le_tx_def_phys;
+ conn->le_rx_def_phys = hdev->le_rx_def_phys;
break;
case CIS_LINK:
/* conn->src should reflect the local identity address */
--
2.55.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-14 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 2:01 [PATCH] Bluetooth: hci_conn: Fix default RX PHY initialization Jackie Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.