Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 073af1cb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: rndis_ipa: continue rndis cleanup although header removal failed"

parents 7e33f155 120c304a
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1287,10 +1287,10 @@ void rndis_ipa_cleanup(void *private)
	RNDIS_IPA_DEBUG("deregister Tx/Rx properties was successful\n");

	retval = rndis_ipa_hdrs_destroy(rndis_ipa_ctx);
	if (retval) {
		RNDIS_IPA_ERROR("Fail to remove headers\n");
		return;
	}
	if (retval)
		RNDIS_IPA_ERROR(
			"Failed removing RNDIS headers from IPA core. Continue anyway\n");
	else
		RNDIS_IPA_DEBUG("RNDIS headers were removed from IPA core\n");

	rndis_ipa_debugfs_destroy(rndis_ipa_ctx);