tools: ffs-aio-example: fix header values endianess
[sfrench/cifs-2.6.git] / tools / usb / ffs-aio-example / simple / device_app / aio_simple.c
index f558664a33176b6b325294636c7c89ee92042f15..28c22cb51249b21b0f5f3adf453e2f840647f810 100644 (file)
@@ -35,8 +35,8 @@ static const struct {
        .header = {
                .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC),
                .length = htole32(sizeof(descriptors)),
-               .fs_count = 3,
-               .hs_count = 3,
+               .fs_count = htole32(3),
+               .hs_count = htole32(3),
        },
        .fs_descs = {
                .intf = {