diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-22 09:59:57 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-22 09:59:57 +0100 |
commit | 57e9300142ff1c4f8df30c2d0b2dc643b63243f4 (patch) | |
tree | d9e821e92b2f94b2fa7dd93bd9e89df96339baba /openbsc/include/openbsc | |
parent | c88181a7dfb91b59a9959066f942c134c2162353 (diff) |
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...
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/ipaccess.h | 3 |
1 files changed, 1 insertions, 2 deletions
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)); |