diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2009-06-18 21:15:41 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2009-06-18 21:15:41 +0000 |
commit | ef4801a2401af2dc069f64ba01660b52e9165d8a (patch) | |
tree | dc1a2d8793f700485ec522f1889fd7902b2b5dbc | |
parent | b74ac99a510b71d1e4f9b640cf1f084052e00d45 (diff) | |
download | FreeBSD-src-ef4801a2401af2dc069f64ba01660b52e9165d8a.zip FreeBSD-src-ef4801a2401af2dc069f64ba01660b52e9165d8a.tar.gz |
ieee80211_dwds_mcast(): check the correct mbuf ptr after encap.
-rw-r--r-- | sys/net80211/ieee80211_wds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_wds.c b/sys/net80211/ieee80211_wds.c index fb2ada9..78529ed 100644 --- a/sys/net80211/ieee80211_wds.c +++ b/sys/net80211/ieee80211_wds.c @@ -282,7 +282,7 @@ ieee80211_dwds_mcast(struct ieee80211vap *vap0, struct mbuf *m) * Encapsulate the packet in prep for transmission. */ mcopy = ieee80211_encap(vap, ni, mcopy); - if (m == NULL) { + if (mcopy == NULL) { /* NB: stat+msg handled in ieee80211_encap */ ieee80211_free_node(ni); continue; |