Skip to content

Commit

Permalink
Removed Debug trace support from common mac header class
Browse files Browse the repository at this point in the history
Change-Id: I44fb7e8f171e951b5769486717f076b1f109dc51
  • Loading branch information
Juha Heiskanen committed Aug 7, 2018
1 parent 90a36a6 commit b1fd538
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/MAC/IEEE802_15_4/mac_header_helper_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "MAC/IEEE802_15_4/mac_defines.h"
#include "MAC/IEEE802_15_4/mac_mcps_sap.h"
#include "MAC/IEEE802_15_4/mac_header_helper_functions.h"
#define TRACE_GROUP "mHe"

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

if (!mac_parse_payload_ie(&payload_ie, ptr)) {
tr_debug("Not supported type");
return false;
}
buffer->mac_payload_length -= 2;
if (payload_ie.length > buffer->mac_payload_length) {
tr_debug("Length too big %u, > %u", payload_ie.length, buffer->mac_payload_length);
return false;
}
buffer->mac_payload_length -= payload_ie.length;
Expand Down

0 comments on commit b1fd538

Please sign in to comment.