diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 4dedc822237fca0eac32d14e5f1818eb80e44fd6..39efbcf63c11d7f7cee63940e6c5155f931032a5 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -716,7 +716,7 @@ struct xhci_ep_ctx { * 4 - TRB error * 5-7 - reserved */ -#define EP_STATE_MASK (0xf) +#define EP_STATE_MASK (0x7) #define EP_STATE_DISABLED 0 #define EP_STATE_RUNNING 1 #define EP_STATE_HALTED 2