Skip to contentSkip to conversation

mwl8k: Disable tx_wait completion

PATCH New Nishant Sarmukadam 1 participant 1 message Jan 8, 2013 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mwl8k: Disable tx_wait completion

From: Nishant Sarmukadam <[email protected]>

Whenever TX ring is drained, priv->tx_wait still points to a valid completion. Making sure that it points to NULL before returning from the mwl8k_tx_wait_empty check.

---
 drivers/net/wireless/mwl8k.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/mwl8k.c +1 -0
index 86e0a38..696848d 100644
@@ -1588,6 +1588,7 @@ static int mwl8k_tx_wait_empty(struct ieee80211_hw *hw)
 
 		rc = -ETIMEDOUT;
 	}
+	priv->tx_wait = NULL;
 	spin_unlock_bh(&priv->tx_lock);
 
 	return rc;
Signature · 1 line
1.8.0.3