]> bbs.cooldavid.org Git - net-next-2.6.git/commit
rt2x00: Fix HT40+/HT40- setting in rt2800.
authorGertjan van Wingerde <gwingerde@gmail.com>
Mon, 3 May 2010 20:43:04 +0000 (22:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 May 2010 17:24:23 +0000 (13:24 -0400)
commita21ee724034b21d51d74eec8e426702a627eb465
tree8b87ae245a99eb5c4485172587f9b96ab959d4e4
parent79a854f1e1a4482243fe4a2b199e199225b87bf6
rt2x00: Fix HT40+/HT40- setting in rt2800.

Inspection of the Ralink vendor driver shows that the TX_BAND_CFG register
and BBP register 3 are about HT40- indication, not about HT40+ indication.
Inverse the meaning of these fields in the code.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800.h
drivers/net/wireless/rt2x00/rt2800lib.c