aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/usb_parse
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-12-07 07:51:37 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-07 07:51:37 -0200
commite3257175c3d542c7f305435108b46a926cafa50b (patch)
treecf7b6b51deada75c47d51ed17dc5010ee05f3d16 /contrib/usb_parse
parent8d0729e618a5b8a2a96ea1f2b0c156e9dab0ce46 (diff)
parse_usb.pl: Fix directions
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'contrib/usb_parse')
-rwxr-xr-xcontrib/usb_parse/parse_usb.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/usb_parse/parse_usb.pl b/contrib/usb_parse/parse_usb.pl
index 45fafd34..7d46bf07 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 ";

Privacy Policy