Diff between 3c66567b165af66fad85a8924a395209eea2d0db and 809db88e92767272ba1999e6e7e81e0a219627fc
Changed Files
| File | Additions | Deletions | Status |
| src/shared/att.c | +2 | -1 | modified |
Full Patch
diff --git a/src/shared/att.c b/src/shared/att.c
index ccc753c..665d7f4 100644
--- a/src/shared/att.c
+++ b/src/shared/att.c
@@ -962,7 +962,8 @@ static void handle_notify(struct bt_att_chan *chan, uint8_t *pdu,
* link since the MTU size is negotiated using L2CAP channel
* configuration procedures.
*/
- if (bt_att_get_link_type(att) == BT_ATT_BREDR) {
+ if (bt_att_get_link_type(att) == BT_ATT_BREDR ||
+ chan->type == BT_ATT_EATT) {
switch (opcode) {
case BT_ATT_OP_MTU_REQ:
goto not_supported;