commit | 6bdee6ada3f75e6e64ae311fae2716376ddd0016 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sun May 30 21:51:58 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sun May 30 22:00:42 2010 +0200 |
tree | a24c35fbb5fb6aafbed6b0235c8011edbeac611f | |
parent | b12aa4b1eebe1024a0cf09553a8448420b707c89 [diff] |
[GPRS] LLC: Increment V(U) and N(U)
diff --git a/openbsc/src/gprs/gprs_llc.c b/openbsc/src/gprs/gprs_llc.c index 293c657..68d7d76 100644 --- a/openbsc/src/gprs/gprs_llc.c +++ b/openbsc/src/gprs/gprs_llc.c
@@ -230,6 +230,10 @@ lle->bvci = msgb_bvci(msg); lle->nsei = msgb_nsei(msg); + /* Increment V(U) */ + nu = lle->vu_send; + lle->vu_send = (lle->vu_send + 1) % 512; + /* Address Field */ addr = sapi & 0xf; if (command)