Diff between 2d3522ece10f3503e45c03b45b0d015f456a9a52 and e11bfba10cc15cf74f8a657fad018aece4a5bde9
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 053aa47..f9a5817 100644
--- a/src/shared/att.c
+++ b/src/shared/att.c
@@ -733,7 +733,7 @@ static void handle_notify(struct bt_att *att, uint8_t opcode, uint8_t *pdu,
const struct queue_entry *entry;
bool found;
- if (opcode & ATT_OP_SIGNED_MASK & !att->ext_signed) {
+ if ((opcode & ATT_OP_SIGNED_MASK) && !att->ext_signed) {
if (!handle_signed(att, opcode, pdu, pdu_len))
return;
pdu_len -= BT_ATT_SIGNATURE_LEN;