diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-20 20:24:00 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-20 20:24:11 +0200 |
commit | 575c8e8dec6d1f544debe867ebc0bde051209c17 (patch) | |
tree | 0efac8d6ad58ce90e6a36b0bf1b1b8736051d413 | |
parent | b62a33af03c39a8970249ce7afe7baec7ea9b91b (diff) |
fix data type of the "response" field (https://dev.openwrt.org/ticket/14062)
-rw-r--r-- | switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -335,7 +335,7 @@ void handle_switch(struct usbdev_data *data) [DATA_INTERFACE] = { .name = "interface", .type = BLOBMSG_TYPE_INT32 }, [DATA_MSG_EP] = { .name = "msg_endpoint", .type = BLOBMSG_TYPE_INT32 }, [DATA_RES_EP] = { .name = "response_endpoint", .type = BLOBMSG_TYPE_INT32 }, - [DATA_RESPONSE] = { .name = "response", .type = BLOBMSG_TYPE_INT32 }, + [DATA_RESPONSE] = { .name = "response", .type = BLOBMSG_TYPE_BOOL }, [DATA_CONFIG] = { .name = "config", .type = BLOBMSG_TYPE_INT32 }, [DATA_ALT] = { .name = "alt", .type = BLOBMSG_TYPE_INT32 }, }; |