summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2016-05-06 17:39:12 +0000
committeravos <avos@FreeBSD.org>2016-05-06 17:39:12 +0000
commit05dac67f853adbb295eaff5bb65b005d958317a1 (patch)
tree363b73267df1e1622d9168458625533cac06150f
parente0f2b3bfc7142076f9c8dc1b3cc2bb7852053bed (diff)
downloadFreeBSD-src-05dac67f853adbb295eaff5bb65b005d958317a1.zip
FreeBSD-src-05dac67f853adbb295eaff5bb65b005d958317a1.tar.gz
iwn: fix comments for iwn_read_eeprom_channels().
It's used for all channels (20MHz and 40MHz).
-rw-r--r--sys/dev/iwn/if_iwn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c
index 5d7a1d1..9545fe3 100644
--- a/sys/dev/iwn/if_iwn.c
+++ b/sys/dev/iwn/if_iwn.c
@@ -2212,7 +2212,7 @@ iwn4965_read_eeprom(struct iwn_softc *sc)
/* Read regulatory domain (4 ASCII characters). */
iwn_read_prom_data(sc, IWN4965_EEPROM_DOMAIN, sc->eeprom_domain, 4);
- /* Read the list of authorized channels (20MHz ones only). */
+ /* Read the list of authorized channels (20MHz & 40MHz). */
for (i = 0; i < IWN_NBANDS - 1; i++) {
addr = iwn4965_regulatory_bands[i];
iwn_read_eeprom_channels(sc, i, addr);
@@ -2303,7 +2303,7 @@ iwn5000_read_eeprom(struct iwn_softc *sc)
iwn_read_prom_data(sc, base + IWN5000_EEPROM_DOMAIN,
sc->eeprom_domain, 4);
- /* Read the list of authorized channels (20MHz ones only). */
+ /* Read the list of authorized channels (20MHz & 40MHz). */
for (i = 0; i < IWN_NBANDS - 1; i++) {
addr = base + sc->base_params->regulatory_bands[i];
iwn_read_eeprom_channels(sc, i, addr);
OpenPOWER on IntegriCloud