]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: usbip: fix up api changes that broke windows clients
authorAlexander Thomas <alexander.thomas@esaturnus.com>
Mon, 19 Sep 2011 14:56:51 +0000 (16:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:42:13 +0000 (09:42 -0800)
commit 7518b9b8fc72a6c0ba67f33bdd4689c7dd28686a upstream.

Revert changes in definitions that were submitted on May 11 2011 and
committed on June 7 2011. No reason for the change in these values was
given in the patch comment, it broke compatibility with older
versions, and was difficult to detect by the simultaneous move of the
lines of code.

Signed-off-by: Alexander Thomas <alexander.thomas@esaturnus.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/usbip_common.h

index 074ac4267d3b508d2c74b10bfc4a776809b37321..be216175ae879941a865d6f2b068a205bb96cdb5 100644 (file)
@@ -126,12 +126,12 @@ extern struct device_attribute dev_attr_usbip_debug;
  *
  */
 #define USBIP_CMD_SUBMIT       0x0001
-#define USBIP_RET_SUBMIT       0x0002
-#define USBIP_CMD_UNLINK       0x0003
+#define USBIP_CMD_UNLINK       0x0002
+#define USBIP_RET_SUBMIT       0x0003
 #define USBIP_RET_UNLINK       0x0004
 
-#define USBIP_DIR_IN   0x00
-#define USBIP_DIR_OUT  0x01
+#define USBIP_DIR_OUT  0x00
+#define USBIP_DIR_IN   0x01
 
 /**
  * struct usbip_header_basic - data pertinent to every request