From: Gabor Juhos Date: Thu, 3 Oct 2013 12:07:02 +0000 (+0200) Subject: rt2x00: rt2800lib: remove TXPOWER_DELTA entry from extended EEPROM map X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cdabcb2bd91f6964e6cbb97513890318dc7110e1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git rt2x00: rt2800lib: remove TXPOWER_DELTA entry from extended EEPROM map The TXPOWER_DELTA field of the regular EEPROM stores the TX power compensation value for HT40. The extended EEPROM has no such field, it stores separate TX power values for HT20 and for HT40. Signed-off-by: Gabor Juhos Acked-by: Paul Menzel Acked-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 27cdf5bbc12a..6163f87374fd 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -278,7 +278,6 @@ static const unsigned int rt2800_eeprom_map_ext[EEPROM_WORD_COUNT] = { [EEPROM_LNA] = 0x0026, [EEPROM_EXT_LNA2] = 0x0027, [EEPROM_RSSI_BG] = 0x0028, - [EEPROM_TXPOWER_DELTA] = 0x0028, /* Overlaps with RSSI_BG */ [EEPROM_RSSI_BG2] = 0x0029, [EEPROM_RSSI_A] = 0x002a, [EEPROM_RSSI_A2] = 0x002b,