mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-22 01:40:00 +00:00
nimble/host: Fix invalid response for mtu exchange request
This commit applies valid response (Request Not Supported) when mtu exchange is requested over EATT.
This commit is contained in:
committed by
Szymon Janc
parent
65fcd4245e
commit
253f5901b6
@@ -727,7 +727,7 @@ ble_att_svr_rx_mtu(uint16_t conn_handle, uint16_t cid, struct os_mbuf **rxom)
|
||||
|
||||
if (cid != BLE_L2CAP_CID_ATT) {
|
||||
/*TODO */
|
||||
return BLE_ATT_ERR_INVALID_PDU;
|
||||
return BLE_HS_ENOTSUP;
|
||||
}
|
||||
|
||||
rc = ble_att_svr_pullup_req_base(rxom, sizeof(*cmd), &att_err);
|
||||
|
||||
Reference in New Issue
Block a user