diff options
author | thompsa <thompsa@FreeBSD.org> | 2008-05-10 20:25:59 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2008-05-10 20:25:59 +0000 |
commit | 0b0263691d05495f691fc7677caa8a94be8c89ef (patch) | |
tree | ab4d0f466cf93d370bf1dfd3b117b1ae00fa6f46 /sys/dev/wi | |
parent | a00c8b6db2a17d2cd7ba1f6aff6ccdb439f1d2ab (diff) | |
download | FreeBSD-src-0b0263691d05495f691fc7677caa8a94be8c89ef.zip FreeBSD-src-0b0263691d05495f691fc7677caa8a94be8c89ef.tar.gz |
Only start the vaps if the init routine completed.
Diffstat (limited to 'sys/dev/wi')
-rw-r--r-- | sys/dev/wi/if_wi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index 3a84f16..b13d4dc 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -703,7 +703,8 @@ wi_init(void *arg) wi_init_locked(sc); WI_UNLOCK(sc); - ieee80211_start_all(ic); + if (ifp->if_drv_flags & IFF_DRV_RUNNING) + ieee80211_start_all(ic); /* start all vap's */ } static void |