Diff between 09d39219a124732f4432d125c5641dfad4946c96 and d14295005ed9e4757a7cca45f9ea6d640b428c7e

Changed Files

File Additions Deletions Status
src/shared/att.c +1 -1 modified

Full Patch

diff --git a/src/shared/att.c b/src/shared/att.c
index f043523..6e1e538 100644
--- a/src/shared/att.c
+++ b/src/shared/att.c
@@ -1146,7 +1146,7 @@ unsigned int bt_att_register(struct bt_att *att, uint8_t opcode,
 {
 	struct att_notify *notify;
 
-	if (!att || !opcode || !callback || !att->io)
+	if (!att || !callback || !att->io)
 		return 0;
 
 	notify = new0(struct att_notify, 1);