summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-ganc/ganc_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/osmo-ganc/ganc_server.c')
-rw-r--r--openbsc/src/osmo-ganc/ganc_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-ganc/ganc_server.c b/openbsc/src/osmo-ganc/ganc_server.c
index 100ad8c..e3205ce 100644
--- a/openbsc/src/osmo-ganc/ganc_server.c
+++ b/openbsc/src/osmo-ganc/ganc_server.c
@@ -80,7 +80,7 @@ static void build_gan_cch_desc(struct gan_cch_desc_ie *ie, struct ganc_bts *bts)
struct ganc_net *net = bts->net;
/* properly initialize to zero */
- memset(&ie, 0, sizeof(ie));
+ memset(ie, 0, sizeof(*ie));
ie->ecmc = 0; /* Early Classmark allowed */
ie->nmo = 0; /* NMO 1 */