aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtp_link.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-24 20:49:58 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-24 20:49:58 +0100
commit9543f4a35672b6aa4aa9412daeb889d93482fdcc (patch)
tree292f2717bb3fcc1e32698e78657050068a8b0849 /src/mtp_link.c
parent3a1c0af8681f16d9ed3cebe4c23eaf50372e6932 (diff)
mtp: Call it mtp_link_submit and use it in mtp_link
Remove the _set from the API, call it from the mtp_link.c. This will fix the statistics for outgoing packets.
Diffstat (limited to 'src/mtp_link.c')
-rw-r--r--src/mtp_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtp_link.c b/src/mtp_link.c
index 8a55aae..7133718 100644
--- a/src/mtp_link.c
+++ b/src/mtp_link.c
@@ -65,7 +65,7 @@ static void mtp_send_sltm(struct mtp_link *link)
return;
}
- link->write(link, msg);
+ mtp_link_submit(link, msg);
}
static void mtp_sltm_t1_timeout(void *_link)