mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(esp_netif): Fixed Coverity issue CID 459204
Closes IDF-9847 See merge request espressif/esp-idf!29400
This commit is contained in:
parent
a13bd2388b
commit
437f08100d
@ -1247,6 +1247,7 @@ static esp_err_t esp_netif_tx_rx_event_api(esp_netif_api_msg_t *msg)
|
||||
esp_netif_t *esp_netif = msg->esp_netif;
|
||||
if (esp_netif == NULL) {
|
||||
ESP_LOGE(TAG, "Invalid esp_netif");
|
||||
return ESP_ERR_ESP_NETIF_INVALID_PARAMS;
|
||||
}
|
||||
|
||||
ESP_LOGD(TAG, "%s esp_netif:%p", __func__, esp_netif);
|
||||
|
Loading…
Reference in New Issue
Block a user