Date: Fri, 19 Jun 2009 13:08:49 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r194491 - projects/mesh11s/sys/net80211 Message-ID: <200906191308.n5JD8ncO044417@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Fri Jun 19 13:08:49 2009 New Revision: 194491 URL: http://svn.freebsd.org/changeset/base/194491 Log: Don't call classify as it expects an ethernet header. Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/net80211/ieee80211_mesh.c Modified: projects/mesh11s/sys/net80211/ieee80211_mesh.c ============================================================================== --- projects/mesh11s/sys/net80211/ieee80211_mesh.c Fri Jun 19 12:51:32 2009 (r194490) +++ projects/mesh11s/sys/net80211/ieee80211_mesh.c Fri Jun 19 13:08:49 2009 (r194491) @@ -412,18 +412,7 @@ mesh_input(struct ieee80211_node *ni, st ieee80211_hdrspace(ic, wh)); IEEE80211_ADDR_COPY(whcopy->i_addr2, vap->iv_myaddr); mccopy->mc_ttl--; - /* calculate priority so drivers can find the tx queue */ - if (ieee80211_classify(vap->iv_bss, mcopy)) { - IEEE80211_DISCARD_MAC(vap, - IEEE80211_MSG_OUTPUT | IEEE80211_MSG_MESH, - wh->i_addr2, NULL, "%s", - "classification failed"); - vap->iv_stats.is_tx_classify++; - ifp->if_oerrors++; - m_freem(mcopy); - ieee80211_free_node(vap->iv_bss); - goto deliver; - } + /* XXX calculate priority so drivers can find the tx queue */ mcopy->m_flags |= M_MCAST; mcopy->m_pkthdr.rcvif = (void *) vap->iv_bss; if (parent->if_transmit(parent, mcopy)) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906191308.n5JD8ncO044417>