diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-24 00:32:52 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-24 00:32:52 +0000 |
commit | 503e21128137ba08bfb2565708ac05022b0da1a3 (patch) | |
tree | e458987f72d2e68f7653d283fd9d135261f469cc /plugins | |
parent | ffd7d714b34bb6ee9930ae49a85bcd55eb0a5ec4 (diff) |
Minor cleanup.
svn path=/trunk/; revision=52809
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/wimax/mac_hd_generic_decoder.c | 1 | ||||
-rw-r--r-- | plugins/wimax/wimax_harq_map_decoder.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/plugins/wimax/mac_hd_generic_decoder.c b/plugins/wimax/mac_hd_generic_decoder.c index fb864b9807..e3a7af19c0 100644 --- a/plugins/wimax/mac_hd_generic_decoder.c +++ b/plugins/wimax/mac_hd_generic_decoder.c @@ -55,7 +55,6 @@ extern gboolean first_gmh; /* defined in wimax_pdu_decoder.c */ extern gint8 arq_enabled; /* declared in packet-wmx.c */ extern gint scheduling_service_type; /* declared in packet-wmx.c */ -extern gint mac_sdu_length; /* declared in packet-wmx.c */ extern address bs_address; /* declared in packet-wmx.c */ extern guint max_logical_bands; /* declared in wimax_compact_dlmap_ie_decoder.c */ diff --git a/plugins/wimax/wimax_harq_map_decoder.c b/plugins/wimax/wimax_harq_map_decoder.c index b31bb86c48..68dacf39b9 100644 --- a/plugins/wimax/wimax_harq_map_decoder.c +++ b/plugins/wimax/wimax_harq_map_decoder.c @@ -116,10 +116,7 @@ static void dissector_wimax_harq_map_decoder(tvbuff_t *tvb, packet_info *pinfo, dl_ie_count = ((first_24bits & WIMAX_HARQ_MAP_DL_IE_COUNT_MASK) >> WIMAX_HARQ_MAP_DL_IE_COUNT_SHIFT); /* get the UL MAP appended */ ulmap_appended = (first_24bits & WIMAX_HARQ_UL_MAP_APPENDED_MASK); - if (parent_item == NULL || PITEM_FINFO(parent_item) == NULL) - { - parent_item = harq_map_item; /* Prevent crash */ - } + /* set the offsets to Compact DL-MAP IEs */ offset += 2; nibble_offset = 1; |