Skip to content

esp: check ll send return value. - #145

Merged
gasbytes merged 2 commits into
wolfSSL:masterfrom
philljj:esp_fix
Jul 27, 2026
Merged

esp: check ll send return value.#145
gasbytes merged 2 commits into
wolfSSL:masterfrom
philljj:esp_fix

Conversation

@philljj

@philljj philljj commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description

Add missing return value check for ll_dev->send( in esp.c.

Fixes F-5478.

Testing

make clean && make && make unit-esp && ./build/test/unit-esp

@philljj philljj self-assigned this Jul 23, 2026
Copilot AI review requested due to automatic review settings July 23, 2026 21:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the ESP transmit path to handle the return value from the link-layer send() callback, aiming to avoid silently ignoring TX failures.

Changes:

  • Capture and check the return value of ll_dev->send() in esp_send().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/wolfesp.c
@philljj
philljj requested a review from gasbytes July 27, 2026 16:00
@philljj philljj assigned wolfSSL-Bot and unassigned philljj Jul 27, 2026
@gasbytes
gasbytes merged commit ab44530 into wolfSSL:master Jul 27, 2026
31 of 32 checks passed
@philljj
philljj deleted the esp_fix branch July 28, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants