mwifiex: correct TDLS link delete failure message priority
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 28 Jul 2015 14:22:20 +0000 (07:22 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 10 Aug 2015 19:15:18 +0000 (22:15 +0300)
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
mwifiex_dbg")

Reported-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/sta_cmdresp.c

index 89e8dafb473876a23d48819f5550b4a24fa0bb1d..87b69d8ad120e0e3f51ffb7edfbf39ff6f1d6dbf 100644 (file)
@@ -895,7 +895,7 @@ static int mwifiex_ret_tdls_oper(struct mwifiex_private *priv,
        case ACT_TDLS_DELETE:
                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 %d\n",
                                            cmd_tdls_oper->peer_mac, reason);
                        else