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 d4d4cb1ce95b868f6e052b69b2f748b98a4b2b7e..00fcbda09349e76533b9faa6b2cde3c246bea6f6 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 74d5d7238633ede9ab43a6ca89d8cdfd1b798de8..52f7981a8afcc711fa9cc1eb368175f319d9094b 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;
        }