From: Gabor Juhos Date: Mon, 8 Jul 2013 14:08:21 +0000 (+0200) Subject: rt2x00: rt2800lib: fix BBP1_TX_ANTENNA field configuration for 3T devices X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4788ac1e4842d8ef46ee620cfccf96c426043177;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git rt2x00: rt2800lib: fix BBP1_TX_ANTENNA field configuration for 3T devices The field must be set to 2 instead of 0 for devices with three TX chains. Signed-off-by: Gabor Juhos Acked-by: Stanislaw Gruszka Acked-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index e817278390f6..1a6a4eb25202 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -1763,7 +1763,7 @@ void rt2800_config_ant(struct rt2x00_dev *rt2x00dev, struct antenna_setup *ant) rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 2); break; case 3: - rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 0); + rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 2); break; }