Skip to content

Commit

Permalink
wifi_prov_mgr : Fixed return value of characteristic read operation
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaESP committed Mar 6, 2023
1 parent d7a3900 commit e72d223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/protocomm/src/transports/protocomm_nimble.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ gatt_svr_chr_access(uint16_t conn_handle, uint16_t attr_handle,
rc = simple_ble_gatts_get_attr_value(attr_handle, &temp_outlen,
&temp_outbuf);
if (rc != 0) {
ESP_LOGE(TAG, "Failed to read characteristic with attr_handle = %d", attr_handle);
return rc;
ESP_LOGE(TAG, "Characteristic with attr_handle = %d is not added to the list", attr_handle);
return 0;
}

rc = os_mbuf_append(ctxt->om, temp_outbuf, temp_outlen);
Expand Down

0 comments on commit e72d223

Please sign in to comment.