aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-13 14:56:55 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-13 14:58:19 +0100
commit857281f7ff904f2c8714c938a693d3a49084f4fc (patch)
treebb32357385250f9f5076d2e8a970cd90a78e867b /src/tbf.cpp
parentd26318e4a71e931113b13df1da239ccf3b978d21 (diff)
llc: Remove one of the two variants to put data into the frame
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 1416e09e..b4b58e48 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -1096,7 +1096,7 @@ do_resend:
if (msg) {
LOGP(DRLCMACDL, LOGL_INFO, "- Dequeue next LLC for "
"%s (len=%d)\n", tbf_name(this), msg->len);
- m_llc.update_frame(msg);
+ m_llc.put_frame(msg->data, msg->len);
msgb_free(msg);
}
/* if we have more data and we have space left */
@@ -1551,7 +1551,7 @@ int gprs_rlcmac_tbf::snd_dl_ack(uint8_t final, uint8_t ssn, uint8_t *rbb)
return 0;
}
#warning "Copy and paste on the sender path"
- m_llc.update_frame(msg);
+ m_llc.put_frame(msg->data, msg->len);
msgb_free(msg);
/* we have a message, so we trigger downlink assignment, and there