diff options
author | thompsa <thompsa@FreeBSD.org> | 2008-09-20 19:38:37 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2008-09-20 19:38:37 +0000 |
commit | 40cfead11a8617c58ccb1dc4a551c238f64c7fe2 (patch) | |
tree | 74b9472edb5958688889f2506f58d4469202a603 /sys/net80211 | |
parent | a76a4a93e98f6735706ff6661856943fa9f1fe20 (diff) | |
download | FreeBSD-src-40cfead11a8617c58ccb1dc4a551c238f64c7fe2.zip FreeBSD-src-40cfead11a8617c58ccb1dc4a551c238f64c7fe2.tar.gz |
Fix clone destruction, can't use the simple api because that does not remove
the ifnet from cloner's list. Expose if_clone_destroyif api to do this.
Submitted by: sam
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_freebsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_freebsd.c b/sys/net80211/ieee80211_freebsd.c index ad29931..71174b7 100644 --- a/sys/net80211/ieee80211_freebsd.c +++ b/sys/net80211/ieee80211_freebsd.c @@ -144,7 +144,7 @@ IFC_SIMPLE_DECLARE(wlan, 0); void ieee80211_vap_destroy(struct ieee80211vap *vap) { - ifc_simple_destroy(&wlan_cloner, vap->iv_ifp); + if_clone_destroyif(&wlan_cloner, vap->iv_ifp); } static int |