mwl8k: Disable tx_wait completion
authorNishant Sarmukadam <nishants@marvell.com>
Tue, 8 Jan 2013 04:46:05 +0000 (10:16 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Jan 2013 19:37:10 +0000 (14:37 -0500)
commit9b0b11fb1e286e03ce911b94844952edd05f554e
tree7831c59482ea25887bc75143e0780a44acff91e2
parent96da6fdd5ae28568be63ccf1f70b14a72135d493
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 <nishants@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c