diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-05-17 13:43:01 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-05-18 22:23:15 +0200 |
commit | a87f8f98918bc8f56f80ca7cc262b8edf5dcfadc (patch) | |
tree | f48709da5a6863fef0bdcb2d7059a6414702d4f1 /openbsc/src/ipaccess | |
parent | d8967f76a50e7639902ba50a01e938171b8ad18d (diff) |
rtp_proxy: Simplify AMR handling
AMR frames on the MNCC interface are slightly different as they
include a single-byte payload_length indicator prior to the actual
payload. Commit 3f201ac89952b68d05c0bb6cb41932b9cd898b19 introduced
more special-case handling than required, so I'm trying to simplify
things again.
We now also use msgb_put() more consistently, i.e. always put
before actually using the data, and use the return value of msgb_put()
rather than first making assumptions about the pointer, writing to it
and then calling msgb_put().
Diffstat (limited to 'openbsc/src/ipaccess')
0 files changed, 0 insertions, 0 deletions