diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-19 08:46:44 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-21 14:52:04 -0400 |
commit | 6054069a03f77ffa686e2dfd5f07cff8ee40b72d (patch) | |
tree | 9ffb02904f2108423c784a5f67834ee8562ad5eb /drivers/net/wireless/rtlwifi/usb.c | |
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>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/usb.c')
0 files changed, 0 insertions, 0 deletions