commit | 6054069a03f77ffa686e2dfd5f07cff8ee40b72d | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Tue Jul 19 08:46:44 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Jul 21 14:52:04 2011 -0400 |
tree | 9ffb02904f2108423c784a5f67834ee8562ad5eb | |
parent | a0490936007bacf5bf6f4fb27788550c89c2c70d [diff] |
ath9k_hw: validate and fix broken eeprom chainmask settings Some devices (e.g. Ubiquiti AirRouter) ship with broken EEPROM chainmask data, which breaks the initial calibration after a hardware reset. To fix this, mask the eeprom chainmask with the chainmask of the chip, and use the chip chainmask if the result is zero. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>