mwl8k: mwl8k_txq_xmit() rework
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 17 Jul 2009 03:21:04 +0000 (05:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:38:07 +0000 (11:38 -0400)
commit23b339062f247e0be84eaabb15e17b403c4388b6
treea8ceb91545c7ee21ac30350ef6f1b0c84c49d4bd
parent7595d67a06466cc00e3aae1b86544278b57481ee
mwl8k: mwl8k_txq_xmit() rework

Various mwl8k_txq_xmit changes:
- Extract the QoS field before adding the DMA header.
- Only write to tx->status once, and only after all the other
  descriptor fields have been set.
- Do all tx state manipulation under the tx spinlock.
- Remove the priv->inconfig check, as all transmit queues will
  be frozen during config cycles, so we won't ever be asked to
  transmit if a config cycle is running.
- Remove some more dead code.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c