diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-09-24 20:00:12 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-09-24 20:00:12 +0300 |
commit | f2d72f63aa6e2ab41286de870597c47ebebfde9f (patch) | |
tree | a4949d9807f7d6929d168eb3f6af1bf08405a8a8 | |
parent | d4b17ab3156f53fc4f9346c822ed7a1c02f3ebdb (diff) |
If the addresses list is empty don't filter out URBs based on the device
address.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rwxr-xr-x | usbmon.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -739,7 +739,7 @@ def main(argv): raise index += 1 - if urb.addr not in addr: + if len(addr) and urb.addr not in addr: continue if endp != -1 and urb.endp != endp: continue |