rt2x00: Add TXOP_CTRL_CFG register definition
authorHelmut Schaa <helmut.schaa@googlemail.com>
Thu, 4 Nov 2010 19:36:59 +0000 (20:36 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:55 +0000 (13:25 -0500)
commit961621abee08fde2328daf6f8000e1059e5205e9
tree5146af2d34494f827fa5ddb45d1f0e8a23fc6bdd
parent066dae93bdfcc7af5e38a33617773fd5c6457607
rt2x00: Add TXOP_CTRL_CFG register definition

Remove the magic value initialisation of the TXOP_CTRL_CFG register by
defining its fields and using them during intialisation. The field
RESERVED_TRUN_EN is referred to as reserved, however it is set to 1 by
the legacy drivers. Hence, do the same.

Signed-off-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/rt2800.h
drivers/net/wireless/rt2x00/rt2800lib.c