rt2x00: Don't use queue entry as parameter when creating TX descriptor.
authorGertjan van Wingerde <gwingerde@gmail.com>
Wed, 6 Jul 2011 20:57:00 +0000 (22:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Jul 2011 17:20:58 +0000 (13:20 -0400)
commit77b5621bac4a56b83b9081f48d4e7d1accdde400
tree4a8f5d10ba0a84c597a6b9596292f4725d7e7f56
parent77a861c405da75d81e9e6e32c50eb7f9777777e8
rt2x00: Don't use queue entry as parameter when creating TX descriptor.

The functions that create the tx descriptor structure do not operate on
a queue entry at all. Signal this fact in the code by not providing a
queue entry as a parameter, but the rt2x00 device structure and the skb
directly.

This patch is a preparation for reducing the time a queue is locked for
a tx operation.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00crypto.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00queue.c