Hi Johan, > The src_type member of struct hci_conn should always reflect the address > type of the src_member. It should never be overridden. There is already > code in place in the command status handler of HCI_LE_Create_Connection > to copy the right initiator address into conn->init_addr_type. > > Without this patch, if privacy is enabled, we will send the wrong > address type in the SMP identity address information PDU (it'll e.g. > contain our public address but a random address type). > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > v2: Reworded misleading commit message > > net/bluetooth/hci_conn.c | 5 ----- > 1 file changed, 5 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html