Only call ieee80211_start_all() if its a 80211 device.

Submitted by:	Paul B. Mahol
This commit is contained in:
Andrew Thompson 2009-04-16 23:42:00 +00:00
parent db90f94b85
commit a0c4317cc2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191163

View file

@ -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 */
}
/*