Only start the vaps if the init routine completed.
This commit is contained in:
parent
6ba643ce87
commit
77197f9ce4
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user