Wireshark-commits: [Wireshark-commits] master dbba573: USB: Fall back to transfer type from descrip

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 25 Jun 2018 14:19:40 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dbba573f4d70c7160724ba98ba28e67a269cd88d
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

dbba573 by Lars Christensen (larsch@xxxxxxxxxxxx):

    USB: Fall back to transfer type from descriptor
    
    When dissecting USBIP packets, the transfer type is not known for every
    packet like when dissecting usbmon captures. This patch lifs the
    transfer type for the endpoint in the device descriptor and stores it in
    the conversation. If the per-packet transfer type is unknown for a
    transfer, it tries the one from the descriptor instead. This enables
    bulk/iso payload dissectors to work on USBIP packets too.
    
    Change-Id: If0a3e4f3b9598f586fa460d0d07032d22e203122
    Reviewed-on: https://code.wireshark.org/review/28412
    Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  336b56b   .mailmap: update of June (2018)
    adds  dbba573   USB: Fall back to transfer type from descriptor


Summary of changes:
 epan/dissectors/packet-usb.c | 35 ++++++++++++++++++++++++++++++++---
 epan/dissectors/packet-usb.h |  3 ++-
 2 files changed, 34 insertions(+), 4 deletions(-)