aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/malo
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2009-03-30 21:53:27 +0000
committerSam Leffler <sam@FreeBSD.org>2009-03-30 21:53:27 +0000
commit339ccfb3918a44878a6c005a3db37155e4d1d142 (patch)
treeb2bbd2e1f176a7f310059ed050ec25ce8ffbac3c /sys/dev/malo
parent4f8cb6ff408e944cb916be54601a0da6e1278799 (diff)
Notes
Diffstat (limited to 'sys/dev/malo')
-rw-r--r--sys/dev/malo/if_malo.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/malo/if_malo.c b/sys/dev/malo/if_malo.c
index 4e0ae0e06069f..c17e98cd4a19a 100644
--- a/sys/dev/malo/if_malo.c
+++ b/sys/dev/malo/if_malo.c
@@ -1290,20 +1290,9 @@ malo_start(struct ifnet *ifp)
break;
}
/*
- * Encapsulate the packet in prep for transmission.
- */
- m = ieee80211_encap(ni, m);
- if (m == NULL) {
- DPRINTF(sc, MALO_DEBUG_XMIT,
- "%s: encapsulation failure\n", __func__);
- sc->malo_stats.mst_tx_encap++;
- goto bad;
- }
- /*
* Pass the frame to the h/w for transmission.
*/
if (malo_tx_start(sc, ni, bf, m)) {
- bad:
ifp->if_oerrors++;
if (bf != NULL) {
bf->bf_m = NULL;