From owner-svn-src-all@FreeBSD.ORG Thu Apr 16 23:42:00 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9E7B106564A; Thu, 16 Apr 2009 23:42:00 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 976C08FC18; Thu, 16 Apr 2009 23:42:00 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GNg0oR096243; Thu, 16 Apr 2009 23:42:00 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3GNg0M7096242; Thu, 16 Apr 2009 23:42:00 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200904162342.n3GNg0M7096242@svn.freebsd.org> From: Andrew Thompson Date: Thu, 16 Apr 2009 23:42:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191163 - head/sys/dev/if_ndis X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 23:42:01 -0000 Author: thompsa Date: Thu Apr 16 23:42:00 2009 New Revision: 191163 URL: http://svn.freebsd.org/changeset/base/191163 Log: Only call ieee80211_start_all() if its a 80211 device. Submitted by: Paul B. Mahol Modified: head/sys/dev/if_ndis/if_ndis.c Modified: head/sys/dev/if_ndis/if_ndis.c ============================================================================== --- head/sys/dev/if_ndis/if_ndis.c Thu Apr 16 23:08:02 2009 (r191162) +++ head/sys/dev/if_ndis/if_ndis.c Thu Apr 16 23:42:00 2009 (r191163) @@ -2083,7 +2083,8 @@ ndis_init(xsc) NDIS_UNLOCK(sc); /* XXX force handling */ - ieee80211_start_all(ic); /* start all vap's */ + if (sc->ndis_80211) + ieee80211_start_all(ic); /* start all vap's */ } /*