Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 23:42:00 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191163 - head/sys/dev/if_ndis
Message-ID:  <200904162342.n3GNg0M7096242@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904162342.n3GNg0M7096242>