From 91ed1f75c4cab317a8971b1971c4f7691a2e70a8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 22 Mar 2010 09:27:43 +0100 Subject: 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.. --- openbsc/src/ipaccess/ipaccess-firmware.c | 4 ---- 1 file changed, 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; -- cgit v1.2.3