From 6d9fde71a60e03eb534bc6f19b1c904f1e5fd7e1 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Mon, 28 Apr 2008 10:23:25 +0000 Subject: [PATCH] Fix test for unlimited credits value in new alloc format. svn path=/trunk/; revision=25185 --- epan/dissectors/packet-umts_fp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index 568f5e1429..502f4c7645 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -908,7 +908,7 @@ int dissect_hsdpa_capacity_allocation_type_2(packet_info *pinfo, proto_tree *tre PI_RESPONSE_CODE, PI_NOTE, "Stop HSDPA transmission"); } - if (credits == 2047) + if (credits == 65535) { proto_item_append_text(ti, " (unlimited)"); } @@ -932,7 +932,7 @@ int dissect_hsdpa_capacity_allocation_type_2(packet_info *pinfo, proto_tree *tre } /* Calculated and show effective rate enabled */ - if (credits == 2047) + if (credits == 65535) { rate_ti = proto_tree_add_item(tree, hf_fp_hsdsch_unlimited_rate, tvb, 0, 0, FALSE); PROTO_ITEM_SET_GENERATED(rate_ti);