summaryrefslogtreecommitdiffstats
path: root/sys/dev/ipw
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2008-05-10 20:25:59 +0000
committerthompsa <thompsa@FreeBSD.org>2008-05-10 20:25:59 +0000
commit0b0263691d05495f691fc7677caa8a94be8c89ef (patch)
treeab4d0f466cf93d370bf1dfd3b117b1ae00fa6f46 /sys/dev/ipw
parenta00c8b6db2a17d2cd7ba1f6aff6ccdb439f1d2ab (diff)
downloadFreeBSD-src-0b0263691d05495f691fc7677caa8a94be8c89ef.zip
FreeBSD-src-0b0263691d05495f691fc7677caa8a94be8c89ef.tar.gz
Only start the vaps if the init routine completed.
Diffstat (limited to 'sys/dev/ipw')
-rw-r--r--sys/dev/ipw/if_ipw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c
index b2fda27..45a418e 100644
--- a/sys/dev/ipw/if_ipw.c
+++ b/sys/dev/ipw/if_ipw.c
@@ -2404,7 +2404,8 @@ ipw_init(void *priv)
ipw_init_locked(sc);
IPW_UNLOCK(sc);
- ieee80211_start_all(ic);
+ if (ifp->if_drv_flags & IFF_DRV_RUNNING)
+ ieee80211_start_all(ic); /* start all vap's */
}
static void
OpenPOWER on IntegriCloud