aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-10-24 21:38:23 +0200
committerSimon Busch <morphis@gravedo.de>2011-10-24 21:38:23 +0200
commitdb2112e4f135bcdd7c1533e9e973dddebb6bf37c (patch)
treef76d6f14cdb42b5602ab65ac10242a8fdf54a625 /include
parentef01149ee7c199cb21e0b9f20378141b3ec271ea (diff)
downloadexternal_libsamsung-ipc-db2112e4f135bcdd7c1533e9e973dddebb6bf37c.zip
external_libsamsung-ipc-db2112e4f135bcdd7c1533e9e973dddebb6bf37c.tar.gz
external_libsamsung-ipc-db2112e4f135bcdd7c1533e9e973dddebb6bf37c.tar.bz2
A plmn is only five byte long instead of six bytes
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'include')
-rw-r--r--include/net.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net.h b/include/net.h
index 9fbf698..969c243 100644
--- a/include/net.h
+++ b/include/net.h
@@ -57,9 +57,10 @@
#define IPC_NET_REGISTRATION_STATE_ROAMING 0x06
struct ipc_net_current_plmn {
- char unk;
+ char unk0;
unsigned char slevel;
- char plmn[6];
+ char unk1;
+ unsigned char plmn[5];
unsigned char type; // IPC_NET_SERVICE_TYPE_... ?
unsigned short lac;
} __attribute__((__packed__));