llc: Remove one of the two variants to put data into the frame
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 1416e09..b4b58e4 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -1096,7 +1096,7 @@
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 @@
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