aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/msg_dsd.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-04-08 15:21:07 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-04-08 15:21:07 +0000
commita10b76a99b9d620ca3ca2769ca2e8d15ce50d35d (patch)
tree6f0eceb48ceaaee882149c02988b01e618d01997 /plugins/wimax/msg_dsd.c
parent441c3f63b2d508910e1b18491899c3aa1b8b502a (diff)
Get rid of check_col().
svn path=/trunk/; revision=32426
Diffstat (limited to 'plugins/wimax/msg_dsd.c')
-rw-r--r--plugins/wimax/msg_dsd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/wimax/msg_dsd.c b/plugins/wimax/msg_dsd.c
index f625572cb9..d4aa9406e5 100644
--- a/plugins/wimax/msg_dsd.c
+++ b/plugins/wimax/msg_dsd.c
@@ -116,10 +116,7 @@ void dissect_mac_mgmt_msg_dsd_req_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
tlv_len = get_tlv_length(&tlv_info);
if(tlv_type == -1 || tlv_len > MAX_TLV_LEN || tlv_len < 1)
{ /* invalid tlv info */
- if(check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "DSD-REQ TLV error");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "DSD-REQ TLV error");
proto_tree_add_item(dsd_tree, hf_dsd_invalid_tlv, tvb, offset, (tvb_len - offset), FALSE);
break;
}
@@ -205,10 +202,7 @@ void dissect_mac_mgmt_msg_dsd_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
tlv_len = get_tlv_length(&tlv_info);
if(tlv_type == -1 || tlv_len > MAX_TLV_LEN || tlv_len < 1)
{ /* invalid tlv info */
- if(check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "DSD RSP TLV error");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "DSD RSP TLV error");
proto_tree_add_item(dsd_tree, hf_dsd_invalid_tlv, tvb, offset, (tvb_len - offset), FALSE);
break;
}