Skip to contentSkip to conversation

mwl8k: Wake up queues in mwl8k_start

PATCH Superseded Nishant Sarmukadam 1 participant 2 messages Jan 8, 2013 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mwl8k: Wake up queues in mwl8k_start

From: Nishant Sarmukadam <[email protected]>

If queues are stopped in mwl8k_stop,
these should be started in mwl8k_start

---
 drivers/net/wireless/mwl8k.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/mwl8k.c +2 -1
index 696848d..5c3c764 100644
@@ -4533,7 +4533,8 @@ static int mwl8k_start(struct ieee80211_hw *hw)
 		priv->irq = -1;
 		tasklet_disable(&priv->poll_tx_task);
 		tasklet_disable(&priv->poll_rx_task);
-	}
+	} else
+		ieee80211_wake_queues(hw);
 
 	return rc;
 }
Signature · 1 line
1.8.0.3
#1 lore raw

PATCH v2 1/1 mwl8k: Wake up queues in mwl8k_start

From: Nishant Sarmukadam <[email protected]>

If queues are stopped in mwl8k_stop,
these should be started in mwl8k_start

---

v2: Fixing coding style as suggested by
Sergey V <[email protected]>

 drivers/net/wireless/mwl8k.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/wireless/mwl8k.c +2 -0
index 696848d..434a862 100644
@@ -4533,6 +4533,8 @@ static int mwl8k_start(struct ieee80211_hw *hw)
 		priv->irq = -1;
 		tasklet_disable(&priv->poll_tx_task);
 		tasklet_disable(&priv->poll_rx_task);
+	} else {
+		ieee80211_wake_queues(hw);
 	}
 
 	return rc;
Signature · 1 line
1.8.0.3