mwifiex: correct TDLS link delete failure message priority

This change “mwifiex: correct TDLS link delete failure message priority” in Linux kernel is authored by Amitkumar Karwar <akarwar [at]> on Tue Jul 28 07:22:20 2015 -0700.

mwifiex: correct TDLS link delete failure message priority

Commit d8d2f19feb16 ("mwifiex: silence TDLS link delete failure
for nonexistent link") lowers the priority of error message when
TDLS link is already deleted. But it had got increased by
commit acebe8c10a6e ("mwifiex: change dbg print func to

Reported-by: Nicholas Mc Guire <>
Signed-off-by: Amitkumar Karwar <>
Signed-off-by: Kalle Valo <>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit 100a008.

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/net/wireless/mwifiex/sta_cmdresp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mwifiex/sta_cmdresp.c b/drivers/net/wireless/mwifiex/sta_cmdresp.c
index 89e8daf..87b69d8 100644
--- a/drivers/net/wireless/mwifiex/sta_cmdresp.c
+++ b/drivers/net/wireless/mwifiex/sta_cmdresp.c
@@ -895,7 +895,7 @@ static int mwifiex_ret_tdls_oper(struct mwifiex_private *priv,
 		if (reason) {
 			if (!node || reason == TDLS_ERR_LINK_NONEXISTENT)
-				mwifiex_dbg(priv->adapter, ERROR,
+				mwifiex_dbg(priv->adapter, MSG,
 					    "TDLS link delete for %pM failed: reason %dn",
 					    cmd_tdls_oper->peer_mac, reason);

The commit for this change in Linux stable tree is 100a008 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *