From: Felix Fietkau Date: Tue, 19 Jul 2011 06:46:44 +0000 (+0200) Subject: ath9k_hw: validate and fix broken eeprom chainmask settings X-Git-Tag: v3.1-rc1~255^2~14^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6054069a03f77ffa686e2dfd5f07cff8ee40b72d;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed