Date: Mon, 11 Nov 2013 08:55:39 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257949 - head/sys/dev/iwn Message-ID: <201311110855.rAB8tddi065153@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Mon Nov 11 08:55:38 2013 New Revision: 257949 URL: http://svnweb.freebsd.org/changeset/base/257949 Log: Fix off-by-one. Sorry! Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ============================================================================== --- head/sys/dev/iwn/if_iwn.c Mon Nov 11 08:54:45 2013 (r257948) +++ head/sys/dev/iwn/if_iwn.c Mon Nov 11 08:55:38 2013 (r257949) @@ -1768,7 +1768,7 @@ iwn4965_read_eeprom(struct iwn_softc *sc #ifdef IWN_DEBUG /* Print samples. */ if (sc->sc_debug & IWN_DEBUG_ANY) { - for (i = 0; i < IWN_NBANDS; i++) + for (i = 0; i < IWN_NBANDS - 1; i++) iwn4965_print_power_group(sc, i); } #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311110855.rAB8tddi065153>