mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 15:34:43 +02:00
fixed trx version to handling
I forgot to write the right trx version to the actual header... git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21986 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
302f3c09e8
commit
ea4702f529
@ -114,7 +114,6 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
p->magic = STORE32_LE(TRX_MAGIC);
|
p->magic = STORE32_LE(TRX_MAGIC);
|
||||||
cur_len = sizeof(struct trx_header) - 4; /* assume v1 header */
|
cur_len = sizeof(struct trx_header) - 4; /* assume v1 header */
|
||||||
p->flag_version = STORE32_LE((trx_version << 16));
|
|
||||||
|
|
||||||
in = NULL;
|
in = NULL;
|
||||||
i = 0;
|
i = 0;
|
||||||
@ -243,6 +242,7 @@ int main(int argc, char **argv)
|
|||||||
usage();
|
usage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
p->flag_version = STORE32_LE((trx_version << 16));
|
||||||
|
|
||||||
if (!in) {
|
if (!in) {
|
||||||
fprintf(stderr, "we require atleast one filename\n");
|
fprintf(stderr, "we require atleast one filename\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user