From 57e9300142ff1c4f8df30c2d0b2dc643b63243f4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 22 Mar 2010 09:59:57 +0100 Subject: ipa-firmware: Remove the part_length from the struct sdp_firmware * The length of the table is not at a fixed position. We will need to read the offset, seek there, read the data, convert it to the host endianes. * Prepare the code to work with offsets of 0... --- openbsc/include/openbsc/ipaccess.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbsc/include/openbsc/ipaccess.h') diff --git a/openbsc/include/openbsc/ipaccess.h b/openbsc/include/openbsc/ipaccess.h index 904a9627b..f34cfbd79 100644 --- a/openbsc/include/openbsc/ipaccess.h +++ b/openbsc/include/openbsc/ipaccess.h @@ -69,8 +69,7 @@ struct sdp_firmware { char date[14]; char text2[10]; char version[20]; - u_int8_t dummy[2]; - u_int16_t part_length; + u_int16_t table_offset; /* stuff i don't know */ } __attribute__((packed)); -- cgit v1.2.3