summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ipw/if_ipw.c3
-rw-r--r--sys/dev/ral/rt2560.c3
-rw-r--r--sys/dev/ral/rt2661.c3
-rw-r--r--sys/dev/wi/if_wi.c3
4 files changed, 8 insertions, 4 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
diff --git a/sys/dev/ral/rt2560.c b/sys/dev/ral/rt2560.c
index 17a7201..9fd4346 100644
--- a/sys/dev/ral/rt2560.c
+++ b/sys/dev/ral/rt2560.c
@@ -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
diff --git a/sys/dev/ral/rt2661.c b/sys/dev/ral/rt2661.c
index 691ac38..a197f4d 100644
--- a/sys/dev/ral/rt2661.c
+++ b/sys/dev/ral/rt2661.c
@@ -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
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
OpenPOWER on IntegriCloud