From 4282304a57e67a1698684d87f70dd45480d795c8 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Sat, 7 Feb 2015 19:58:40 +0100 Subject: [PATCH] set protocol to USBHID for get descriptor request and response if they're dealing with HID descriptors Change-Id: Ia529fe373653ddf18e05e8ad148a2f5b5686fa95 Reviewed-on: https://code.wireshark.org/review/7010 Reviewed-by: Martin Kaiser --- epan/dissectors/packet-usb-hid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/epan/dissectors/packet-usb-hid.c b/epan/dissectors/packet-usb-hid.c index d18058b189..41bf1e61c8 100644 --- a/epan/dissectors/packet-usb-hid.c +++ b/epan/dissectors/packet-usb-hid.c @@ -1331,6 +1331,8 @@ dissect_usb_hid_control_std_intf(tvbuff_t *tvb, packet_info *pinfo, /* XXX - can we do some plausibility checks here? */ + col_set_str(pinfo->cinfo, COL_PROTOCOL, "USBHID"); + /* we can't use usb_conv_info->is_request since usb_conv_info was replaced with the interface conversation */ if (usb_trans_info->request_in == pinfo->fd->num) {