rt2x00: use rt2800_config_channel_rt3x for rt2872
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 7 Apr 2010 07:06:34 +0000 (09:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Apr 2010 19:24:12 +0000 (15:24 -0400)
commit403820edc4ba1f2fb2514c022f2662c498ce0d11
tree93db6b21b0a220f64548724722809e6f7a89dab0
parent2eb46d9bda44b3f85727fee6865d9b25725e6bf9
rt2x00: use rt2800_config_channel_rt3x for rt2872

rt2872 needs the same rf register setup as rt3070 and rt3090, hence
use rt2800_config_channel_rt3x instead of rt2800_config_channel_rt2x.
This change allows me to actually switch channels and hence scan all
configured channels on the RT305x SoC platform (which uses a rt2872)
here.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Tested-by: Luis Correia <luis.f.correia@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c