summaryrefslogtreecommitdiff
path: root/sys/dev/ral
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2008-05-10 20:25:59 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2008-05-10 20:25:59 +0000
commit77197f9ce40e611279a280b8dd8f1ab71762a5de (patch)
treeab4d0f466cf93d370bf1dfd3b117b1ae00fa6f46 /sys/dev/ral
parent6ba643ce876f124af25ab30e9e05081f18c8dafb (diff)
Notes
Diffstat (limited to 'sys/dev/ral')
-rw-r--r--sys/dev/ral/rt2560.c3
-rw-r--r--sys/dev/ral/rt2661.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ral/rt2560.c b/sys/dev/ral/rt2560.c
index 17a72010057c..9fd4346fa3b7 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 691ac3881df9..a197f4d983d3 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