diff options
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.h')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.h b/drivers/net/wireless/libertas/if_usb.h index 5771a83a43f0..5ba0aee0eb2f 100644 --- a/drivers/net/wireless/libertas/if_usb.h +++ b/drivers/net/wireless/libertas/if_usb.h | |||
@@ -30,6 +30,7 @@ struct bootcmd | |||
30 | 30 | ||
31 | #define BOOT_CMD_RESP_OK 0x0001 | 31 | #define BOOT_CMD_RESP_OK 0x0001 |
32 | #define BOOT_CMD_RESP_FAIL 0x0000 | 32 | #define BOOT_CMD_RESP_FAIL 0x0000 |
33 | #define BOOT_CMD_RESP_NOT_SUPPORTED 0x0002 | ||
33 | 34 | ||
34 | struct bootcmdresp | 35 | struct bootcmdresp |
35 | { | 36 | { |
@@ -50,6 +51,10 @@ struct if_usb_card { | |||
50 | uint8_t ep_in; | 51 | uint8_t ep_in; |
51 | uint8_t ep_out; | 52 | uint8_t ep_out; |
52 | 53 | ||
54 | /* bootcmdresp == 0 means command is pending | ||
55 | * bootcmdresp < 0 means error | ||
56 | * bootcmdresp > 0 is a BOOT_CMD_RESP_* from firmware | ||
57 | */ | ||
53 | int8_t bootcmdresp; | 58 | int8_t bootcmdresp; |
54 | 59 | ||
55 | int ep_in_size; | 60 | int ep_in_size; |