Hi Johan, > It's a very common test to see if both the local and the remote device > have SSP enabled. By creating a simple function to test this we can > shorten many if-statements in the code. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 7 +++++++ > net/bluetooth/hci_conn.c | 8 ++------ > net/bluetooth/hci_event.c | 12 ++++-------- > 3 files changed, 13 insertions(+), 14 deletions(-) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> 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