Date: Thu, 31 May 2007 08:44:18 GMT From: Andrew Thompson <thompsa@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 120651 for review Message-ID: <200705310844.l4V8iI1I089493@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=120651 Change 120651 by thompsa@thompsa_heff on 2007/05/31 08:44:06 Split the debug message for the two scan types. Affected files ... .. //depot/projects/wifi/sys/dev/iwi/if_iwi.c#34 edit Differences ... ==== //depot/projects/wifi/sys/dev/iwi/if_iwi.c#34 (text+ko) ==== @@ -2706,18 +2706,20 @@ scan.channels[++i] = ieee80211_chan2ieee(ic, chan); set_scan_type(&scan, i, type); } + DPRINTF(("Scanning on %d channel(s)\n", i)); } else { /* Scan the current channel only */ i = 1; scan.channels[i] = ieee80211_chan2ieee(ic, chan); set_scan_type(&scan, i, type); + DPRINTF(("Scanning on channel %u\n", + ieee80211_chan2ieee(ic, chan))); } if (IEEE80211_IS_CHAN_5GHZ(chan)) scan.channels[0] = i | IWI_CHAN_5GHZ; else scan.channels[0] = i | IWI_CHAN_2GHZ; - DPRINTF(("Scanning on %d channel(s)\n", i)); sc->flags |= IWI_FLAG_SCANNING; sc->sc_scan_timer = 3; sc->sc_ifp->if_timer = 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705310844.l4V8iI1I089493>