madwifi: fix noderef and state machine issues in the currently unused ap-to-ap wds mode; refresh patches

SVN-Revision: 13096
This commit is contained in:
Felix Fietkau
2008-11-02 13:04:36 +00:00
parent 891b476e67
commit dec207d4eb
65 changed files with 602 additions and 465 deletions

View File

@@ -1,6 +1,6 @@
--- a/net80211/ieee80211_input.c
+++ b/net80211/ieee80211_input.c
@@ -1200,6 +1200,7 @@ ieee80211_deliver_data(struct ieee80211_
@@ -1197,6 +1197,7 @@ ieee80211_deliver_data(struct ieee80211_
}
if (skb1 != NULL) {
struct ieee80211_node *ni_tmp;
@@ -8,7 +8,7 @@
skb1->dev = dev;
skb_reset_mac_header(skb1);
skb_set_network_header(skb1, sizeof(struct ether_header));
@@ -1207,7 +1208,12 @@ ieee80211_deliver_data(struct ieee80211_
@@ -1204,7 +1205,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 */
@@ -24,7 +24,7 @@
vap->iv_devstats.tx_dropped++;
--- a/net80211/ieee80211_output.c
+++ b/net80211/ieee80211_output.c
@@ -333,9 +333,10 @@ void ieee80211_parent_queue_xmit(struct
@@ -324,9 +324,10 @@ void ieee80211_parent_queue_xmit(struct
/* Dispatch the packet to the parent device */
skb->dev = vap->iv_ic->ic_dev;