Wireshark-commits: [Wireshark-commits] master 1648d6e: new function is_usb_standard_setup_request()

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 7 Feb 2015 18:19:03 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1648d6e283aba943fa7eed786d6bf5fac276618a
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

1648d6e by Martin Kaiser (wireshark@xxxxxxxxx):

    new function is_usb_standard_setup_request() to check if a request is a
    standard setup request
    
    it's not sufficient to look at the type bits in the request type field
    
    use the new function where we checked the type bits before
    
    Change-Id: I65b901dca91607a4dad4e4296b3f3a877aebf346
    Reviewed-on: https://code.wireshark.org/review/7003
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  13f6bce   Bluetooth: ATT: Use proto_tree_add_new_bytes for UUID128
    adds  1648d6e   new function is_usb_standard_setup_request() to check if a request is a standard setup request


Summary of changes:
 epan/dissectors/packet-usb.c |   30 +++++++++++++++++++++++++++---
 1 file changed, 27 insertions(+), 3 deletions(-)