Skip to content
Commit bc1b1fb2 authored by Andrea Merello's avatar Andrea Merello Committed by John W. Linville
Browse files

rtl8180: fix wrong parameter in grf5101_rf_set_channel



The grf5101 RF code needs to invoke grf5101_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: default avatarAndrea Merello <andreamrl@tiscali.it>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0a0ab41e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment