summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip/usbip_common.h
diff options
context:
space:
mode:
authorAlexander Thomas <alexander.thomas@esaturnus.com>2011-09-19 14:56:51 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-19 17:45:03 (GMT)
commit7518b9b8fc72a6c0ba67f33bdd4689c7dd28686a (patch)
tree0817a9784632f8d082f425fafe22b56c8d79465e /drivers/staging/usbip/usbip_common.h
parent14739feed0af86c1e7d20c22a46252889bfd887a (diff)
downloadlinux-fsl-qoriq-7518b9b8fc72a6c0ba67f33bdd4689c7dd28686a.tar.xz
staging: usbip: fix up api changes that broke windows clients
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> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/usbip_common.h')
-rw-r--r--drivers/staging/usbip/usbip_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/usbip/usbip_common.h b/drivers/staging/usbip/usbip_common.h
index 074ac42..be21617 100644
--- a/drivers/staging/usbip/usbip_common.h
+++ b/drivers/staging/usbip/usbip_common.h
@@ -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