]> bbs.cooldavid.org Git - net-next-2.6.git/commit
rt2x00: Fix channel configuration for RF3052
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 23 Aug 2010 17:55:43 +0000 (19:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Aug 2010 18:34:55 +0000 (14:34 -0400)
commit46323e112ce2a0fdaf2dd5389f95b248576b8fda
tree5fe469ee74d2a25066d34a138539c8fefdf78448
parentb9a07ae9d9e09662013992088fd58ffbcb2f9a30
rt2x00: Fix channel configuration for RF3052

We missed a check for RF3052 in the config_channel
configuration function. As a result the channel is not
properly configured for RF3052 devices. This also
requires rt2800_config_channel_rf3xxx to support 5GHz
channels, so we must apply the TXPOWER_A_TO_DEV and
TXPOWER_G_TO_DEV conversions during rt2800_config_channel()

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