aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2400pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index 69b4852d4c7f..23bc51a96dbe 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -797,19 +797,15 @@ continue_csr_init:
797 rt2400pci_bbp_write(rt2x00dev, 30, 0x21); 797 rt2400pci_bbp_write(rt2x00dev, 30, 0x21);
798 rt2400pci_bbp_write(rt2x00dev, 31, 0x00); 798 rt2400pci_bbp_write(rt2x00dev, 31, 0x00);
799 799
800 DEBUG(rt2x00dev, "Start initialization from EEPROM...\n");
801 for (i = 0; i < EEPROM_BBP_SIZE; i++) { 800 for (i = 0; i < EEPROM_BBP_SIZE; i++) {
802 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom); 801 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBP_START + i, &eeprom);
803 802
804 if (eeprom != 0xffff && eeprom != 0x0000) { 803 if (eeprom != 0xffff && eeprom != 0x0000) {
805 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID); 804 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
806 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE); 805 value = rt2x00_get_field16(eeprom, EEPROM_BBP_VALUE);
807 DEBUG(rt2x00dev, "BBP: 0x%02x, value: 0x%02x.\n",
808 reg_id, value);
809 rt2400pci_bbp_write(rt2x00dev, reg_id, value); 806 rt2400pci_bbp_write(rt2x00dev, reg_id, value);
810 } 807 }
811 } 808 }
812 DEBUG(rt2x00dev, "...End initialization from EEPROM.\n");
813 809
814 return 0; 810 return 0;
815} 811}