aboutsummaryrefslogtreecommitdiff
path: root/at76_usb.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-07-10 02:20:59 -0400
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-07-15 12:18:59 -0400
commitd9c3c996b9cd9efd315f7b6a31c1fe22d57a6326 (patch)
tree3733db13f7a0eaa9fbad43016b88ab194f32340c /at76_usb.h
parentb72ac8c87c329d7321f9553b36bf1899242cf103 (diff)
[PATCH] Expand request type macros in usb_control_msg() calls
They were used inconsistently. Besides, they don't make the code more readable. Signed-off-by: Pavel Roskin <proski@gnu.org>
Diffstat (limited to 'at76_usb.h')
-rw-r--r--at76_usb.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/at76_usb.h b/at76_usb.h
index 111a5ee..6178784 100644
--- a/at76_usb.h
+++ b/at76_usb.h
@@ -47,13 +47,6 @@
#define AT76_SET_INTL_ROAMING (SIOCIWFIRSTPRIV + 10)
#define AT76_GET_INTL_ROAMING (SIOCIWFIRSTPRIV + 11)
-#define DEVICE_VENDOR_REQUEST_OUT 0x40
-#define DEVICE_VENDOR_REQUEST_IN 0xc0
-#define INTERFACE_VENDOR_REQUEST_OUT 0x41
-#define INTERFACE_VENDOR_REQUEST_IN 0xc1
-#define CLASS_REQUEST_OUT 0x21
-#define CLASS_REQUEST_IN 0xa1
-
#define CMD_STATUS_IDLE 0x00
#define CMD_STATUS_COMPLETE 0x01
#define CMD_STATUS_UNKNOWN 0x02