diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-22 09:27:43 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-22 09:27:43 +0100 |
commit | 91ed1f75c4cab317a8971b1971c4f7691a2e70a8 (patch) | |
tree | ab6c7cb959fa6e88b3a0e418852a6f7f729b5e33 | |
parent | 8e9559d2e17c3336d4614534922e7c750d3e1ba2 (diff) |
ipa-firmware: The more_more_magic is to indicate the payload
* Ignore the value of the field there is no sematnic change
to the content of the file..
-rw-r--r-- | openbsc/src/ipaccess/ipaccess-firmware.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-firmware.c b/openbsc/src/ipaccess/ipaccess-firmware.c index 8aba50978..d9b9d0a4a 100644 --- a/openbsc/src/ipaccess/ipaccess-firmware.c +++ b/openbsc/src/ipaccess/ipaccess-firmware.c @@ -77,10 +77,6 @@ int ipaccess_analyze_file(int fd, const unsigned int st_size, const unsigned int INIT_LLIST_HEAD(&header->header_list); llist_add(&header->entry, list); - /* this semantic appears to be only the case for 0x0000 */ - if (firmware_header->more_more_magic != 0) - return -1; - if (ntohs(firmware_header->part_length) % PART_LENGTH != 0) { fprintf(stderr, "The part length seems to be wrong.\n"); return -1; |