Thread (8 messages) 8 messages, 3 authors, 2012-01-19

Re: [PATCH 3/3] Bluetooth: Add a convenience function to check for SSP enabled

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-01-19 10:03:52

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 <redacted>
---
 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@holtmann.org>

Regards

Marcel

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help