From 46aa46042d36e25b0782b5c57fb4fab097318c59 Mon Sep 17 00:00:00 2001 From: Juha Heiskanen Date: Thu, 19 Dec 2019 16:08:51 +0200 Subject: [PATCH] Fixed unit test's. Change-Id: I59ce546c53909c2b5a2cf03bb86f94cc41320c30 --- test/nanostack/unittest/mac/mac_pd_sap/test_mac_pd_sap.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/nanostack/unittest/mac/mac_pd_sap/test_mac_pd_sap.c b/test/nanostack/unittest/mac/mac_pd_sap/test_mac_pd_sap.c index f13eafa53bf..713fcfc5a73 100644 --- a/test/nanostack/unittest/mac/mac_pd_sap/test_mac_pd_sap.c +++ b/test/nanostack/unittest/mac/mac_pd_sap/test_mac_pd_sap.c @@ -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) {