remove another vestige of the null if_softc on detach hack

This commit is contained in:
sam 2009-06-02 20:51:59 +00:00
parent 72f8358403
commit 8eb6b29558

View File

@ -1220,22 +1220,12 @@ ieee80211_init(void *arg)
{
struct ieee80211vap *vap = arg;
/*
* This routine is publicly accessible through the vap's
* if_init method so guard against calls during detach.
* ieee80211_vap_detach null's the backpointer before
* tearing down state to signal any callback should be
* rejected/ignored.
*/
if (vap != NULL) {
IEEE80211_DPRINTF(vap,
IEEE80211_MSG_STATE | IEEE80211_MSG_DEBUG,
"%s\n", __func__);
IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE | IEEE80211_MSG_DEBUG,
"%s\n", __func__);
IEEE80211_LOCK(vap->iv_ic);
ieee80211_start_locked(vap);
IEEE80211_UNLOCK(vap->iv_ic);
}
IEEE80211_LOCK(vap->iv_ic);
ieee80211_start_locked(vap);
IEEE80211_UNLOCK(vap->iv_ic);
}
/*