Skip to content

Commit

Permalink
Merge branch 'fix/netif_error' into 'feature/esp_as_mcu_host'
Browse files Browse the repository at this point in the history
fix/netif_error Fix netif error to return

See merge request app-frameworks/esp_hosted!448
  • Loading branch information
mantriyogesh committed May 17, 2024
2 parents a1bd094 + 5e16b39 commit dd03522
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions host/drivers/transport/transport_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,11 @@ static esp_err_t transport_drv_sta_tx(void *h, void *buffer, size_t len)
#endif
errno = -ENOBUFS;
//return ESP_ERR_NO_BUFFS;
#if defined(ESP_ERR_ESP_NETIF_TX_FAILED)
return ESP_ERR_ESP_NETIF_TX_FAILED;
#else
return ESP_ERR_ESP_NETIF_NO_MEM;
#endif
}

assert(h && h==chan_arr[ESP_STA_IF]->api_chan);
Expand Down
2 changes: 1 addition & 1 deletion idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.0.5-dev.13"
version: "0.0.5-dev.14"
description: ESP-Hosted provides driver such that any host can re-use ESP chipset as Wi-Fi or Bluetooth co-processor.
url: https://github.com/espressif/esp-hosted/tree/feature/esp_as_mcu_host
examples:
Expand Down

0 comments on commit dd03522

Please sign in to comment.