Diff between 338ba4352b6cadafe61808c21302c0abe2168e02 and 446e13360dbaa95fd3912ebb9ca734ccb17d7a32
Changed Files
| File | Additions | Deletions | Status |
| monitor/att.c | +1 | -1 | modified |
Full Patch
diff --git a/monitor/att.c b/monitor/att.c
index f9643b3..d3b8207 100644
--- a/monitor/att.c
+++ b/monitor/att.c
@@ -2946,7 +2946,7 @@ static void print_write(const struct l2cap_frame *frame, uint16_t handle,
return;
handler = get_handler(attr);
- if (!handler)
+ if (!handler || !handler->write)
return;
handler->write(frame);