diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-07 12:50:15 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-07 12:50:15 +0000 |
commit | 6babc9b91ab6cdd9305b270f269b8622c527a88e (patch) | |
tree | b1bd865ddc103600da0e66dbdaf6233a0ae3dd96 /package/madwifi/patches/372-queue_vif.patch | |
parent | a81aed2f57aef263f83f31c8d405d086776f7415 (diff) |
move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/372-queue_vif.patch')
-rw-r--r-- | package/madwifi/patches/372-queue_vif.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/package/madwifi/patches/372-queue_vif.patch b/package/madwifi/patches/372-queue_vif.patch deleted file mode 100644 index 8b13abc33..000000000 --- a/package/madwifi/patches/372-queue_vif.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- a/net80211/ieee80211_input.c -+++ b/net80211/ieee80211_input.c -@@ -1198,6 +1198,7 @@ ieee80211_deliver_data(struct ieee80211_ - } - if (skb1 != NULL) { - struct ieee80211_node *ni_tmp; -+ int ret; - skb1->dev = dev; - skb_reset_mac_header(skb1); - skb_set_network_header(skb1, sizeof(struct ether_header)); -@@ -1205,7 +1206,12 @@ ieee80211_deliver_data(struct ieee80211_ - skb1->protocol = __constant_htons(ETH_P_802_2); - /* XXX insert vlan tag before queue it? */ - ni_tmp = SKB_CB(skb1)->ni; /* remember node so we can free it */ -- if (dev_queue_xmit(skb1) == NET_XMIT_DROP) { -+ ret = dev->hard_start_xmit(skb1, dev); -+ -+ if (ret == NETDEV_TX_BUSY) -+ ieee80211_dev_kfree_skb(&skb1); -+ -+ else if (ret != NETDEV_TX_OK) { - /* If queue dropped the packet because device was - * too busy */ - vap->iv_devstats.tx_dropped++; ---- a/net80211/ieee80211_output.c -+++ b/net80211/ieee80211_output.c -@@ -324,9 +324,10 @@ void ieee80211_parent_queue_xmit(struct - /* Dispatch the packet to the parent device */ - skb->dev = vap->iv_ic->ic_dev; - -- if (dev_queue_xmit(skb) == NET_XMIT_DROP) -+ if (netif_queue_stopped(skb->dev)) -+ ieee80211_dev_kfree_skb(&skb); -+ else if (dev_queue_xmit(skb) == NET_XMIT_DROP) - vap->iv_devstats.tx_dropped++; -- - } - - /* |