Message ID | 1573622132-16181-2-git-send-email-gbhat@marvell.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/2] mwifiex: fix requesting zero memory for firmware dump | expand |
diff --git a/drivers/net/wireless/marvell/mwifiex/main.c b/drivers/net/wireless/marvell/mwifiex/main.c index a9657ae..7b5cf2c0 100644 --- a/drivers/net/wireless/marvell/mwifiex/main.c +++ b/drivers/net/wireless/marvell/mwifiex/main.c @@ -808,6 +808,11 @@ int mwifiex_queue_tx_pkt(struct mwifiex_private *priv, struct sk_buff *skb) mwifiex_wmm_add_buf_txqueue(priv, skb); } + if (priv->adapter->hs_activated) { + mwifiex_dbg(priv->adapter, ERROR, "hs_activated: queue TX\n"); + return 0; + } + mwifiex_queue_main_work(priv->adapter); return 0;