svn commit: r194461 - head/sys/net80211
Rui Paulo
rpaulo at FreeBSD.org
Thu Jun 18 21:15:41 UTC 2009
Author: rpaulo
Date: Thu Jun 18 21:15:41 2009
New Revision: 194461
URL: http://svn.freebsd.org/changeset/base/194461
Log:
ieee80211_dwds_mcast(): check the correct mbuf ptr after encap.
Modified:
head/sys/net80211/ieee80211_wds.c
Modified: head/sys/net80211/ieee80211_wds.c
==============================================================================
--- head/sys/net80211/ieee80211_wds.c Thu Jun 18 20:56:22 2009 (r194460)
+++ head/sys/net80211/ieee80211_wds.c Thu Jun 18 21:15:41 2009 (r194461)
@@ -282,7 +282,7 @@ ieee80211_dwds_mcast(struct ieee80211vap
* 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;
More information about the svn-src-head
mailing list