diff options
Diffstat (limited to 'sys/dev/malo/if_malo.c')
-rw-r--r-- | sys/dev/malo/if_malo.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/malo/if_malo.c b/sys/dev/malo/if_malo.c index 4e0ae0e..c17e98c 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; |