Only start the vaps if the init routine completed.

This commit is contained in:
Andrew Thompson 2008-05-10 20:25:59 +00:00
parent 6ba643ce87
commit 77197f9ce4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178931
4 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -2726,7 +2726,8 @@ rt2560_init(void *priv)
rt2560_init_locked(sc);
RAL_UNLOCK(sc);
ieee80211_start_all(ic);
if (ifp->if_drv_flags & IFF_DRV_RUNNING)
ieee80211_start_all(ic); /* start all vap's */
}
static void

View File

@ -2471,7 +2471,8 @@ rt2661_init(void *priv)
rt2661_init_locked(sc);
RAL_UNLOCK(sc);
ieee80211_start_all(ic);
if (ifp->if_drv_flags & IFF_DRV_RUNNING)
ieee80211_start_all(ic); /* start all vap's */
}
void

View File

@ -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