]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f40ccca0446fa5d9a286425aa67ba81317f6da8
treea8ceb91545c7ee21ac30350ef6f1b0c84c49d4bd
parentab98796b18177a86a0780d1c0a65653f4cc55907
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