Skip to content

Commit 1a9be20

Browse files
author
Jarkko Paso
committed
MAC unit tests: updated cca prepare test
1 parent fd5683d commit 1a9be20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nanostack/unittest/mac/mac_pd_sap/test_mac_pd_sap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ bool test_mac_cca_prepare_cb()
829829

830830
memset(&test_packet, 0, sizeof(mac_pre_build_frame_t));
831831
rf_ptr.active_pd_data_request = &test_packet;
832-
test_packet.csma_periods_left = 1;
832+
test_packet.csma_periods_left = 0;
833833
test_packet.fcf_dsn.frametype = FC_BEACON_FRAME;
834834
test_packet.asynch_request = false;
835835
fhss_callback_response = -1;

0 commit comments

Comments
 (0)