From 14de650b13b420e6f9643124e0552d8eaee915dc Mon Sep 17 00:00:00 2001 From: Arkadiusz Lichwa Date: Fri, 15 Jul 2016 17:53:24 +0200 Subject: [PATCH] Bluetooth: doc: Fix displacement of security levels description Improves placement of security levels value description in Bluetooth API documentation by moving to separate line proper comment describing the value meaning. Change-Id: Ia2f58282bb664bf96cda888412900024c6ddf4b0 Signed-off-by: Arkadiusz Lichwa --- include/bluetooth/conn.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/include/bluetooth/conn.h b/include/bluetooth/conn.h index 838aa519293..dfa762ed1e5 100644 --- a/include/bluetooth/conn.h +++ b/include/bluetooth/conn.h @@ -239,12 +239,14 @@ struct bt_conn *bt_conn_create_slave_le(const bt_addr_le_t *peer, /** Security level. */ typedef enum __packed { - BT_SECURITY_LOW, /** No encryption and no authentication. */ - BT_SECURITY_MEDIUM, /** encryption and no authentication (no MITM). */ - BT_SECURITY_HIGH, /** encryption and authentication (MITM). */ - BT_SECURITY_FIPS, /** Authenticated LE Secure Connections and - * encryption. - */ + /** No encryption and no authentication. */ + BT_SECURITY_LOW, + /** Encryption and no authentication (no MITM). */ + BT_SECURITY_MEDIUM, + /** Encryption and authentication (MITM). */ + BT_SECURITY_HIGH, + /** Authenticated Secure Connections */ + BT_SECURITY_FIPS, } bt_security_t; /** @brief Set security level for a connection.