From owner-p4-projects@FreeBSD.ORG Thu May 31 08:44:19 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EF60B16A469; Thu, 31 May 2007 08:44:18 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9B3816A421 for ; Thu, 31 May 2007 08:44:18 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9A74513C468 for ; Thu, 31 May 2007 08:44:18 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4V8iIca089501 for ; Thu, 31 May 2007 08:44:18 GMT (envelope-from thompsa@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4V8iI1I089493 for perforce@freebsd.org; Thu, 31 May 2007 08:44:18 GMT (envelope-from thompsa@freebsd.org) Date: Thu, 31 May 2007 08:44:18 GMT Message-Id: <200705310844.l4V8iI1I089493@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to thompsa@freebsd.org using -f From: Andrew Thompson To: Perforce Change Reviews Cc: Subject: PERFORCE change 120651 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 08:44:19 -0000 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;