Only call ieee80211_start_all() if its a 80211 device.

Submitted by:	Paul B. Mahol
This commit is contained in:
thompsa 2009-04-16 23:42:00 +00:00
parent d9986ad4bf
commit e9b44cfb05

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