Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit b063457

Browse files
authored
Merge pull request ARMmbed#1775 from ARMmbed/mac_header_trace_fix
Removed Debug trace support from common mac header class
2 parents 90a36a6 + b1fd538 commit b063457

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

source/MAC/IEEE802_15_4/mac_header_helper_functions.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "MAC/IEEE802_15_4/mac_defines.h"
2727
#include "MAC/IEEE802_15_4/mac_mcps_sap.h"
2828
#include "MAC/IEEE802_15_4/mac_header_helper_functions.h"
29-
#define TRACE_GROUP "mHe"
3029

3130
static uint8_t *mcps_mac_security_aux_header_start_pointer_get(const mac_pre_parsed_frame_t *buffer);
3231
static uint8_t * mac_header_information_elements_write(const mac_pre_build_frame_t *buffer, uint8_t *ptr);
@@ -650,12 +649,10 @@ bool mac_payload_information_elements_parse(mac_pre_parsed_frame_t *buffer)
650649
while (buffer->mac_payload_length >= 2) {
651650

652651
if (!mac_parse_payload_ie(&payload_ie, ptr)) {
653-
tr_debug("Not supported type");
654652
return false;
655653
}
656654
buffer->mac_payload_length -= 2;
657655
if (payload_ie.length > buffer->mac_payload_length) {
658-
tr_debug("Length too big %u, > %u", payload_ie.length, buffer->mac_payload_length);
659656
return false;
660657
}
661658
buffer->mac_payload_length -= payload_ie.length;

0 commit comments

Comments
 (0)