Skip to content

Commit

Permalink
FHSS Ack tx done fix
Browse files Browse the repository at this point in the history
Added missing possible channel switch after ACK tx done process. If
channel switch happen middle of ack send we never switch channel before
this.
  • Loading branch information
Juha Heiskanen committed Sep 11, 2018
1 parent fb4309d commit 2183869
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/MAC/IEEE802_15_4/mac_pd_sap.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ static int8_t mac_data_interface_tx_done_cb(protocol_interface_rf_mac_setup_s *r

if (rf_ptr->mac_ack_tx_active) {
rf_ptr->mac_ack_tx_active = false;
if (rf_ptr->fhss_api) {
//SET tx completed false because ack isnot never queued
rf_ptr->fhss_api->data_tx_done(rf_ptr->fhss_api, false, false, 0xff);
}
if (rf_ptr->active_pd_data_request) {

if (rf_ptr->active_pd_data_request->fcf_dsn.securityEnabled) {
Expand Down

0 comments on commit 2183869

Please sign in to comment.