commit | c5dc0f7ac70041c58d219a983c20e5c755cd60f3 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Dec 28 11:28:51 2009 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Dec 28 11:28:51 2009 +0100 |
tree | 04cbb14c08321f84dab269f0590d316605819e9d | |
parent | 5a2291e96a21474363ce9105800b3e3612ce0698 [diff] [blame] |
[ipaccess] Properly increment the segs_in_window Somehow this should be done in the fill method..
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c index 9ed7253..17e8d0f 100644 --- a/openbsc/src/abis_nm.c +++ b/openbsc/src/abis_nm.c
@@ -1307,6 +1307,7 @@ 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;