aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-at.c
diff options
context:
space:
mode:
authorDarien Spencer <cusneud@mail.com>2018-09-08 19:01:25 +0300
committerStig Bjørlykke <stig@bjorlykke.org>2018-09-08 18:31:22 +0000
commitac28cefcc599ee02fa3f2d5efb723011df9378ae (patch)
treefd06e64629863fa85538d6bd05dc67a49d6d41ac /epan/dissectors/packet-at.c
parent5f9a85c62fa7e805512b8b0f015dd023bd9daa0e (diff)
AT: Fix CSQ checking for wrong action
Should allow ACTION_SIMPLY instead of ACTION Change-Id: Ia56ee3e17fcc8a36bb41ca38200d19fca689f94b Reviewed-on: https://code.wireshark.org/review/29489 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan/dissectors/packet-at.c')
-rw-r--r--epan/dissectors/packet-at.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-at.c b/epan/dissectors/packet-at.c
index 3dc06dfcdf..612d869d82 100644
--- a/epan/dissectors/packet-at.c
+++ b/epan/dissectors/packet-at.c
@@ -638,7 +638,7 @@ static gboolean check_csim(gint role, guint16 type) {
}
static gboolean check_csq(gint role, guint16 type) {
- if (role == ROLE_DTE && (type == TYPE_ACTION || type == TYPE_TEST)) return TRUE;
+ if (role == ROLE_DTE && (type == TYPE_ACTION_SIMPLY || type == TYPE_TEST)) return TRUE;
if (role == ROLE_DCE && type == TYPE_RESPONSE) return TRUE;
return FALSE;