From fa8cf2d9388001b052675a740ac07582b4849b9d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Jan 2011 16:51:34 +0100 Subject: 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. --- include/mtp_data.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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); -- cgit v1.2.3