aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-12-28 11:28:51 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-12-28 11:28:51 +0100
commitc5dc0f7ac70041c58d219a983c20e5c755cd60f3 (patch)
tree04cbb14c08321f84dab269f0590d316605819e9d /openbsc/src
parent5a2291e96a21474363ce9105800b3e3612ce0698 (diff)
[ipaccess] Properly increment the segs_in_window
Somehow this should be done in the fill method..
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/abis_nm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c
index 9ed72530d..17e8d0f4c 100644
--- a/openbsc/src/abis_nm.c
+++ b/openbsc/src/abis_nm.c
@@ -1307,6 +1307,7 @@ static int sw_load_segment(struct abis_nm_sw *sw)
if (len != IPACC_SEGMENT_SIZE)
sw->last_seg = 1;
+ ++sw->seg_in_window;
msgb_tl16v_put(msg, NM_ATT_IPACC_FILE_DATA, len, (const u_int8_t *) seg_buf);
len += 3;
break;