Skip to content

Commit

Permalink
Added traces to EAPOL TX failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Leppänen committed Nov 30, 2020
1 parent c29ee94 commit c013bc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
### Changes
* Nanostack now indicates connection down on RPL local repair start
* Added trace for mbed TLS errors
* Added traces to EAPOL TX failure

### Bugfix
* Prevent sending broadcast frames on unicast channel
Expand Down
3 changes: 3 additions & 0 deletions source/6LoWPAN/ws/ws_eapol_pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ static void ws_eapol_pdu_mpx_data_confirm(const mpx_api_t *api, const struct mcp
status = EAPOL_PDU_TX_OK;
} else if (data->status == MLME_TX_NO_ACK) {
status = EAPOL_PDU_TX_ERR_TX_NO_ACK;
tr_error("EAPOL TX err no ack");
} else {
tr_error("EAPOL TX err");
}
msdu->tx_status(eapol_pdu_data->interface_ptr, status, msdu->tx_identifier);
}
Expand Down

0 comments on commit c013bc7

Please sign in to comment.