Diff between 452024ba83452eee5accdbe5506ab3683cd4790c and dbe5c40981548c7fc15942e7bfc66a7e6a1e0002

Changed Files

File Additions Deletions Status
monitor/l2cap.c +4 -4 modified

Full Patch

diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index 3c41ac4..0abf84e 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -2685,22 +2685,22 @@ static void print_smp_auth_req(uint8_t auth_req)
 		break;
 	}
 
-	if ((auth_req & 0x04))
+	if (auth_req & 0x04)
 		mitm = "MITM";
 	else
 		mitm = "No MITM";
 
-	if ((auth_req & 0x08))
+	if (auth_req & 0x08)
 		sc = "SC";
 	else
 		sc = "Legacy";
 
-	if ((auth_req & 0x10))
+	if (auth_req & 0x10)
 		kp = "Keypresses";
 	else
 		kp = "No Keypresses";
 
-	if ((auth_req & 0x20))
+	if (auth_req & 0x20)
 		ct2 = ", CT2";
 	else
 		ct2 = "";