Remove improper handling of non-cloned frames in hardstart.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3281 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2008-01-28 19:27:26 +00:00
parent db307a76c6
commit c61bd72fbc

View File

@ -3248,12 +3248,7 @@ ath_hardstart(struct sk_buff *skb, struct net_device *dev)
}
ieee80211_skb_copy_noderef(skb_orig, skb);
ieee80211_dev_kfree_skb(&skb_orig);
} else {
if (SKB_CB(skb)->ni != NULL)
ieee80211_unref_node(&SKB_CB(skb)->ni);
skb_orphan(skb);
}
}
eh = (struct ether_header *)skb->data;
#ifdef ATH_SUPERG_FF