rt2x00: use correct headroom for transmission
authorPavel Roskin <proski@gnu.org>
Wed, 30 Dec 2009 10:36:29 +0000 (11:36 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jan 2010 21:17:05 +0000 (16:17 -0500)
commitb59a52f12e483b79e7d32da7ec30dcf3b2e0210b
tree1c1a365ce1249a6f042f2ca51ca325b0ad9ca42f
parente12822e1d3fface0d9e1095c5177e10141bd6bd6
rt2x00: use correct headroom for transmission

Use rt2x00dev->ops->extra_tx_headroom, not rt2x00dev->hw->extra_tx_headroom
in the tx code, as the later may include other headroom not to be used in
the chipset driver.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.c