summaryrefslogtreecommitdiffstats
path: root/src/gsm/gsm48_ie.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-02 14:22:30 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-02 14:22:30 +0200
commite581516b26da54f8d73fca6640ab1a5df16bc6e8 (patch)
tree94922706248617630d825b071e6aa3c00db85b30 /src/gsm/gsm48_ie.c
parenteeb78dde9b037d6b26325e6e5b9154a91952ced9 (diff)
parent1a99df84e12315c63f2e96a2972864e4c311712d (diff)
Merge branch 'master' of git.osmocom.org:libosmocore
Diffstat (limited to 'src/gsm/gsm48_ie.c')
-rw-r--r--src/gsm/gsm48_ie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/gsm48_ie.c b/src/gsm/gsm48_ie.c
index efcf2816..863e6365 100644
--- a/src/gsm/gsm48_ie.c
+++ b/src/gsm/gsm48_ie.c
@@ -745,7 +745,7 @@ int gsm48_decode_freq_list(struct gsm_sysinfo_freq *f, uint8_t *cd,
if (w[4])
f[((w[1] - 512 + ((w[2] - 256 + w[4] - 1) % 511)) % 1023) + 1].mask |= frqt;
if (w[5])
- f[((w[1] + ((w[3] - 256 - w[5] - 1) % 511)) % 1023) + 1].mask |= frqt;
+ f[((w[1] + ((w[3] - 256 + w[5] - 1) % 511)) % 1023) + 1].mask |= frqt;
if (w[6])
f[((w[1] - 512 + ((w[2] + w[6] - 1) % 511)) % 1023) + 1].mask |= frqt;
if (w[7])