Module Name: src Committed By: bouyer Date: Thu Mar 15 18:52:02 UTC 2012
Modified Files: src/sys/external/isc/atheros_hal/dist: ah_eeprom_v4k.c Log Message: Revert previous; needs more work To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c diff -u src/sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c:1.2 src/sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c:1.3 --- src/sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c:1.2 Thu Mar 15 18:49:49 2012 +++ src/sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c Thu Mar 15 18:52:02 2012 @@ -239,7 +239,7 @@ v4kEepromReadCTLInfo(struct ath_hal *ah, HALASSERT(AR5416_4K_NUM_CTLS <= sizeof(ee->ee_rdEdgesPower)/NUM_EDGES); for (i = 0; ee->ee_base.ctlIndex[i] != 0 && i < AR5416_4K_NUM_CTLS; i++) { - for (j = 0; j < AR5416_4K_NUM_BAND_EDGES; j ++) { + for (j = 0; j < NUM_EDGES; j ++) { /* XXX Confirm this is the right thing to do when an invalid channel is stored */ if (ee->ee_base.ctlData[i].ctlEdges[CTL_CHAIN][j].bChannel == AR5416_BCHAN_UNUSED) { rep[j].rdEdge = 0;