aboutsummaryrefslogtreecommitdiffstats
path: root/include/mtp_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-20 16:51:34 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-20 19:07:16 +0100
commitfa8cf2d9388001b052675a740ac07582b4849b9d (patch)
tree238e52becc04e5595bbf26af54b5b3be10f1d416 /include/mtp_data.h
parent9b8a4a7f49b8d926de4bd4a1866d9506b92e1dfa (diff)
mtp: Create a method for a link failure to restart the link.
Make sure that a failed link will be restarted by calling the reset method which should take the link down.
Diffstat (limited to 'include/mtp_data.h')
-rw-r--r--include/mtp_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mtp_data.h b/include/mtp_data.h
index 1ebd7f6..de9be11 100644
--- a/include/mtp_data.h
+++ b/include/mtp_data.h
@@ -128,6 +128,8 @@ void mtp_link_start_link_test(struct mtp_link *link);
void mtp_link_stop_link_test(struct mtp_link *link);
int mtp_link_slta(struct mtp_link *link, uint16_t l3_len, struct mtp_level_3_mng *mng);
+void mtp_link_failure(struct mtp_link *fail);
+
/* internal routines */
struct msgb *mtp_msg_alloc(struct mtp_link_set *link);
void mtp_link_set_trasmit(struct mtp_link *link, int sls, struct msgb *msg);