From owner-p4-projects@FreeBSD.ORG Sat Oct 18 23:25:09 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 214EB106569A; Sat, 18 Oct 2008 23:25:09 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8F251065696 for ; Sat, 18 Oct 2008 23:25:08 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C78B78FC15 for ; Sat, 18 Oct 2008 23:25:08 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m9INP8IG077316 for ; Sat, 18 Oct 2008 23:25:08 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9INP8Zo077314 for perforce@freebsd.org; Sat, 18 Oct 2008 23:25:08 GMT (envelope-from sam@freebsd.org) Date: Sat, 18 Oct 2008 23:25:08 GMT Message-Id: <200810182325.m9INP8Zo077314@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 151531 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: Sat, 18 Oct 2008 23:25:09 -0000 http://perforce.freebsd.org/chv.cgi?CH=151531 Change 151531 by sam@sam_ebb on 2008/10/18 23:24:58 pass country code, outdoor use, and ecm use to the hal when getting the list of available channels (was passing fixed values that might be different) Affected files ... .. //depot/projects/vap/sys/dev/ath/if_ath.c#103 edit Differences ... ==== //depot/projects/vap/sys/dev/ath/if_ath.c#103 (text+ko) ==== @@ -5889,7 +5889,7 @@ } error = 0; if (!ath_hal_init_channels(ah, halchans, IEEE80211_CHAN_MAX, &nhalchans, - NULL, 0, NULL, CTRY_DEFAULT, HAL_MODE_ALL, AH_FALSE, AH_TRUE)) { + NULL, 0, NULL, cc, HAL_MODE_ALL, outdoor, ecm)) { error = EINVAL; goto done; }