summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/wlan/if_run.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-10-12 04:55:20 +0000
committeradrian <adrian@FreeBSD.org>2015-10-12 04:55:20 +0000
commitddc10d6668d00854cf056f91c44cf92010f26e7c (patch)
tree0ad5a3585c48c4d2f6705ea7eb28cc7313a8c059 /sys/dev/usb/wlan/if_run.c
parent5a44e8c44b09f08ee9e42d177f79640c96f4c857 (diff)
downloadFreeBSD-src-ddc10d6668d00854cf056f91c44cf92010f26e7c.zip
FreeBSD-src-ddc10d6668d00854cf056f91c44cf92010f26e7c.tar.gz
net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output().
This doesn't free the mbuf upon error; the driver ic_raw_xmit method is still doing that. Submitted by: <s3erios@gmail.com> Differential Revision: https://reviews.freebsd.org/D3774
Diffstat (limited to 'sys/dev/usb/wlan/if_run.c')
-rw-r--r--sys/dev/usb/wlan/if_run.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c
index be43755..3a8c020 100644
--- a/sys/dev/usb/wlan/if_run.c
+++ b/sys/dev/usb/wlan/if_run.c
@@ -3707,7 +3707,6 @@ done:
if (error != 0) {
if(m != NULL)
m_freem(m);
- ieee80211_free_node(ni);
}
return (error);
OpenPOWER on IntegriCloud