Skip to content

Commit

Permalink
Fixed unit test's.
Browse files Browse the repository at this point in the history
Change-Id: I59ce546c53909c2b5a2cf03bb86f94cc41320c30
  • Loading branch information
Juha Heiskanen committed Dec 20, 2019
1 parent c65292e commit 46aa460
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/nanostack/unittest/mac/mac_pd_sap/test_mac_pd_sap.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,14 +831,6 @@ bool test_mac_cca_prepare_cb()
rf_ptr.ack_tx_possible = false;

rf_ptr.enhanced_ack_handler_timestamp = 10;
mlme_device_descriptor_t test_neigh;
mac_security_mib_stub.device_ptr = &test_neigh;

ret = mac_pd_sap_data_cb(&rf_ptr, &phy_message);
if (ret != 0) {
return false;
}
mac_security_mib_stub.device_ptr = NULL;

ret = mac_pd_sap_data_cb(&rf_ptr, &phy_message);
if (ret != -1 || rf_ptr.mac_ack_tx_active) {
Expand Down

0 comments on commit 46aa460

Please sign in to comment.