diff options
author | Andrea Merello <andrea.merello@gmail.com> | 2008-05-10 13:32:34 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-28 16:43:39 -0400 |
commit | 0a0ab41e833c8184c6d4ab663f137d5bbd50e049 (patch) | |
tree | f39473769febd13131a7cd2234a4ae11c7132fe5 /drivers/net/wireless/rtl8180_grf5101.c | |
parent | 0823b2c3c10a4db21cd39a8c72cda96b4dd6d914 (diff) |
rtl8180: fix wrong parameter in max2820_rf_set_channel
The max2820 RF code needs to invoke max2820_write_phy_antenna every time the
channel is being switch.
This should be done passing the channel number to that function.
Incorrectly we were passing the same value that is written on the
channel RF register.
This may cause problems when operating on ch 14.
This patch fixes it.
Thanks to Alessandro Di Marco who found this issue!
Signed-off-by: Andrea Merello <andreamrl@tiscali.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl8180_grf5101.c')
0 files changed, 0 insertions, 0 deletions