mwifiex: suppress "Rx of mgmt packet failed" message
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 14 Dec 2015 12:15:08 +0000 (04:15 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 14:57:59 +0000 (16:57 +0200)
Block ACK action frames are dropped in driver. This error
is expected in this case. Let's lower the priority of this
message.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sta_rx.c
drivers/net/wireless/marvell/mwifiex/uap_txrx.c

index d4d4cb1..00fcbda 100644 (file)
@@ -215,7 +215,7 @@ int mwifiex_process_sta_rx_packet(struct mwifiex_private *priv,
        if (rx_pkt_type == PKT_TYPE_MGMT) {
                ret = mwifiex_process_mgmt_packet(priv, skb);
                if (ret)
-                       mwifiex_dbg(adapter, ERROR, "Rx of mgmt packet failed");
+                       mwifiex_dbg(adapter, DATA, "Rx of mgmt packet failed");
                dev_kfree_skb_any(skb);
                return ret;
        }
index 74d5d72..52f7981 100644 (file)
@@ -310,8 +310,7 @@ int mwifiex_process_uap_rx_packet(struct mwifiex_private *priv,
        if (rx_pkt_type == PKT_TYPE_MGMT) {
                ret = mwifiex_process_mgmt_packet(priv, skb);
                if (ret)
-                       mwifiex_dbg(adapter, ERROR,
-                                   "Rx of mgmt packet failed");
+                       mwifiex_dbg(adapter, DATA, "Rx of mgmt packet failed");
                dev_kfree_skb_any(skb);
                return ret;
        }