diff options
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index d958e2dca52f..129c22a85ccf 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c | |||
@@ -401,6 +401,10 @@ struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst) | |||
401 | case ACL_LINK: | 401 | case ACL_LINK: |
402 | conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; | 402 | conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; |
403 | break; | 403 | break; |
404 | case LE_LINK: | ||
405 | /* conn->src should reflect the local identity address */ | ||
406 | hci_copy_identity_address(hdev, &conn->src, &conn->src_type); | ||
407 | break; | ||
404 | case SCO_LINK: | 408 | case SCO_LINK: |
405 | if (lmp_esco_capable(hdev)) | 409 | if (lmp_esco_capable(hdev)) |
406 | conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | | 410 | conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | |