Skip to content

Commit

Permalink
Call channel change after filtered out packet
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarkko Paso authored and Juha Heiskanen committed Feb 3, 2020
1 parent d196ffc commit 87ee16a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/MAC/IEEE802_15_4/mac_pd_sap.c
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,9 @@ int8_t mac_pd_sap_data_cb(void *identifier, arm_phy_sap_msg_t *message)
ERROR_HANDLER:
mcps_sap_pre_parsed_frame_buffer_free(buffer);
sw_mac_stats_update(rf_ptr, STAT_MAC_RX_DROP, 0);
if (rf_ptr->fhss_api) {
rf_ptr->fhss_api->data_tx_done(rf_ptr->fhss_api, false, false, 0);
}
return -1;

} else if (message->id == MAC15_4_PD_SAP_DATA_TX_CONFIRM) {
Expand Down

0 comments on commit 87ee16a

Please sign in to comment.