aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtp_layer3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtp_layer3.c')
-rw-r--r--src/mtp_layer3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mtp_layer3.c b/src/mtp_layer3.c
index 4e9a746..4f6564c 100644
--- a/src/mtp_layer3.c
+++ b/src/mtp_layer3.c
@@ -470,6 +470,7 @@ int mtp_link_set_data(struct mtp_link *link, struct msgb *msg)
hdr = (struct mtp_level_3_hdr *) msg->l2h;
l3_len = msgb_l2len(msg) - sizeof(*hdr);
+ rate_ctr_inc(&link->ctrg->ctr[MTP_LNK_IN]);
rate_ctr_inc(&link->set->ctrg->ctr[MTP_LSET_TOTA_IN_MSG]);
switch (hdr->ser_ind) {