Wireshark-commits: [Wireshark-commits] master 88581a6: Added usb_set_addr helper function
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 4 Jun 2014 00:29:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=88581a68e74ede6235c98f8d616c0fca5cd3a2e2
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

88581a6 by Sean O. Stalley (sean.stalley@xxxxxxxxx):

    Added usb_set_addr helper function
    
    Added a helper function used to set the address fields for an urb.
    The code functions the same as before, but is now more modular.
    This change makes it easier for other dissectors to reuse the usb
    addressing code (ex: MAUSB).
    
    Change-Id: Idef3156a0fc9a9eda77ec7b2bbf3797b7a59e264
    Reviewed-on: https://code.wireshark.org/review/1942
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  c5de173   MBIM: do not access to hash map when it is not initialized yet
    adds  88581a6   Added usb_set_addr helper function


Summary of changes:
 epan/dissectors/packet-usb.c |   52 +++++++++++++++++++++++++-----------------
 1 file changed, 31 insertions(+), 21 deletions(-)