mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mwl8k: Disable tx_wait completion
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. Signed-off-by: Nishant Sarmukadam <[email protected]> Signed-off-by: Yogesh Ashok Powar <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
96da6fdd5a
commit
9b0b11fb1e
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue