struct ath_softc *sc = netdev_priv(dev);
struct ieee80211_node *ni = NULL;
struct ath_buf *bf = NULL;
- struct ether_header *eh;
ath_bufhead bf_head;
struct ath_buf *tbf;
struct sk_buff *tskb;
*/
int requeue = 0;
#ifdef ATH_SUPERG_FF
+ struct ether_header *eh;
unsigned int pktlen;
struct ieee80211com *ic = &sc->sc_ic;
struct ath_txq *txq = NULL;
}
STAILQ_INIT(&bf_head);
- eh = (struct ether_header *)skb->data;
if (SKB_CB(skb)->flags & M_RAW) {
bf = ath_take_txbuf(sc);
/* NB: use this lock to protect an->an_tx_ffbuf (and txq->axq_stageq)
* in athff_can_aggregate() call too. */
ATH_TXQ_LOCK_IRQ(txq);
+ eh = (struct ether_header *)skb->data;
if (athff_can_aggregate(sc, eh, an, skb,
ni->ni_vap->iv_fragthreshold, &ff_flush)) {
if (an->an_tx_ffbuf[skb->priority]) { /* i.e., frame on the staging queue */