Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_proto.c
Show First 20 Lines • Show All 1,416 Lines • ▼ Show 20 Lines | ieee80211_stop_locked(struct ieee80211vap *vap) | ||||
ieee80211_new_state_locked(vap, IEEE80211_S_INIT, -1); | ieee80211_new_state_locked(vap, IEEE80211_S_INIT, -1); | ||||
if (ifp->if_drv_flags & IFF_DRV_RUNNING) { | if (ifp->if_drv_flags & IFF_DRV_RUNNING) { | ||||
ifp->if_drv_flags &= ~IFF_DRV_RUNNING; /* mark us stopped */ | ifp->if_drv_flags &= ~IFF_DRV_RUNNING; /* mark us stopped */ | ||||
if (--ic->ic_nrunning == 0) { | if (--ic->ic_nrunning == 0) { | ||||
IEEE80211_DPRINTF(vap, | IEEE80211_DPRINTF(vap, | ||||
IEEE80211_MSG_STATE | IEEE80211_MSG_DEBUG, | IEEE80211_MSG_STATE | IEEE80211_MSG_DEBUG, | ||||
"down parent %s\n", ic->ic_name); | "down parent %s\n", ic->ic_name); | ||||
ieee80211_runtask(ic, &ic->ic_parent_task); | ieee80211_runtask(ic, &ic->ic_parent_task); | ||||
ieee80211_tx_watchdog_stop(ic); | |||||
} | } | ||||
} | } | ||||
} | } | ||||
void | void | ||||
ieee80211_stop(struct ieee80211vap *vap) | ieee80211_stop(struct ieee80211vap *vap) | ||||
{ | { | ||||
struct ieee80211com *ic = vap->iv_ic; | struct ieee80211com *ic = vap->iv_ic; | ||||
▲ Show 20 Lines • Show All 635 Lines • Show Last 20 Lines |