diff options
Diffstat (limited to 'src/bluetooth-common.c')
-rw-r--r-- | src/bluetooth-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth-common.c b/src/bluetooth-common.c index 7cf1d62..a7fb862 100644 --- a/src/bluetooth-common.c +++ b/src/bluetooth-common.c @@ -2173,7 +2173,7 @@ static void __bt_event_proxy(int event, bluetooth_event_param_t *param, void *us if (cb == NULL) { bluetooth_gatt_send_response(read_req->req_id, BLUETOOTH_GATT_ATT_REQUEST_TYPE_READ, - BLUETOOTH_ERROR_INTERNAL, 0, NULL, 0); + BLUETOOTH_ATT_ERROR_INTERNAL, 0, NULL, 0); return; } @@ -2197,7 +2197,7 @@ static void __bt_event_proxy(int event, bluetooth_event_param_t *param, void *us bluetooth_gatt_send_response(value_change->req_id, BLUETOOTH_GATT_ATT_REQUEST_TYPE_WRITE, - BLUETOOTH_ERROR_INTERNAL, 0, NULL, 0); + BLUETOOTH_ATT_ERROR_INTERNAL, 0, NULL, 0); return; } |