From e3257175c3d542c7f305435108b46a926cafa50b Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 7 Dec 2010 07:51:37 -0200 Subject: [PATCH] parse_usb.pl: Fix directions Signed-off-by: Mauro Carvalho Chehab --- contrib/usb_parse/parse_usb.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/usb_parse/parse_usb.pl b/contrib/usb_parse/parse_usb.pl index 45fafd3..7d46bf0 100755 --- a/contrib/usb_parse/parse_usb.pl +++ b/contrib/usb_parse/parse_usb.pl @@ -28,9 +28,9 @@ sub type_req($) my $s; if ($reqtype & 0x80) { - $s = "WR "; - } else { $s = "RD "; + } else { + $s = "WR "; } if (($reqtype & 0x60) == 0x20) { $s .= "CLAS "; -- 2.7.4