Wireshark-commits: [Wireshark-commits] master d87fbc9: an endpoint_descriptor may only be sent from
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 25 Aug 2014 12:50:07 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d87fbc9a609a920eb4d0629260902fa4a30d2cd0
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d87fbc9 by Martin Kaiser (wireshark@xxxxxxxxx):

    an endpoint_descriptor may only be sent from a USB device to the host
    as part of a GET DESCRIPTOR Response
    
    therefore, pinfo->destport==NO_ENDPOINT is always true for valid USB
    packets and we can remove the else branch
    
    Change-Id: I2163e3000cafa27113ee0e6173fd69b7ef17b812
    Reviewed-on: https://code.wireshark.org/review/3585
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  a6cbcb1   Fix a typo RELEASE_OTHER_REASON 4 -> RELEASE_OTHER_REASON 3 RFC 3057 3.3.1.2 RELEASE_OTHER  0x3     Other reasons
    adds  d87fbc9   an endpoint_descriptor may only be sent from a USB device to the host as part of a GET DESCRIPTOR Response


Summary of changes:
 epan/dissectors/packet-usb.c |   25 ++++++++-----------------
 1 file changed, 8 insertions(+), 17 deletions(-)