diff --git a/include/autoconf.h b/include/autoconf.h index 8429a25..150ef3a 100755 --- a/include/autoconf.h +++ b/include/autoconf.h @@ -105,8 +105,6 @@ */ #define CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC -#define CONFIG_VENDOR_REQ_RETRY - /* * HAL Related Config */ diff --git a/include/usb_ops_linux.h b/include/usb_ops_linux.h index b2dd4f0..58a1d54 100755 --- a/include/usb_ops_linux.h +++ b/include/usb_ops_linux.h @@ -25,12 +25,8 @@ #define RTW_USB_CONTROL_MSG_TIMEOUT_TEST 10//ms #define RTW_USB_CONTROL_MSG_TIMEOUT 500//ms -#if defined(CONFIG_VENDOR_REQ_RETRY) /* vendor req retry should be in the situation when each vendor req is atomically submitted from others */ #define MAX_USBCTRL_VENDORREQ_TIMES 10 -#else -#define MAX_USBCTRL_VENDORREQ_TIMES 1 -#endif #define RTW_USB_BULKOUT_TIMEOUT 5000//ms