Skip to content

Commit d72602d

Browse files
sjancnashif
authored andcommitted
bluetooth: ATT: Ignore signed writes on EATT bearer
Core Specification 5.3 Vol 3. Part G. 4.2: The Signed Write Without Response sub-procedure shall only be supported on the LE Fixed Channel Unenhanced ATT bearer. This was affecting GATT/SR/GAW/BI-38-C qualification test. Signed-off-by: Szymon Janc <[email protected]>
1 parent b156e0f commit d72602d

File tree

1 file changed

+8
-0
lines changed
  • subsys/bluetooth/host

1 file changed

+8
-0
lines changed

subsys/bluetooth/host/att.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,6 +1954,14 @@ static uint8_t att_signed_write_cmd(struct bt_att_chan *chan, struct net_buf *bu
19541954
uint16_t handle;
19551955
int err;
19561956

1957+
/* The Signed Write Without Response sub-procedure shall only be supported
1958+
* on the LE Fixed Channel Unenhanced ATT bearer.
1959+
*/
1960+
if (atomic_test_bit(chan->flags, ATT_ENHANCED)) {
1961+
/* No response for this command */
1962+
return 0;
1963+
}
1964+
19571965
req = (void *)buf->data;
19581966

19591967
handle = sys_le16_to_cpu(req->handle);

0 commit comments

Comments
 (0)