Hi Johan, > So far we've only been requesting the LTK to be distributed to the > master (initiator) of pairing, which is usually enough since it's the > master that will establish future connections and initiate encryption. > However, in the case that both devices support switching to the opposing > role (which seems to be increasingly common) pairing will have to > performed again since the "new" master will not have all information. > > As there is no real harm in it, this patch updates the code to always > try distributing the LTK also to the slave device, thereby enabling role > switches for future connections. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/smp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 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