From: Felix Fietkau Date: Sun, 11 Jul 2010 10:48:39 +0000 (+0200) Subject: ath9k_hw: fix antenna diversity on AR9285 X-Git-Tag: v2.6.36-rc1~571^2~107^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=601e0cb165e65dc185b31fe7ebd2c0169ea47306;p=pandora-kernel.git ath9k_hw: fix antenna diversity on AR9285 On AR9285, the antenna switch configuration register uses more than just 16 bits. Because of an arbitrary mask applied to the EEPROM value that stores this configuration, diversity was broken in some cases, leading to a significant degradation in signal strength. Fix this by changing the callback to return a 32 bit value and remove the arbitrary mask. Signed-off-by: Felix Fietkau Cc: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed