FIXME make fq_codel patch compile
Change-Id: I66a4889ee891312f2464c6cc114463179674d372
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 25da74a..84a8525 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1216,7 +1216,8 @@
static void ieee80211_if_setup_no_queue(struct net_device *dev)
{
ieee80211_if_setup(dev);
- dev->priv_flags |= IFF_NO_QUEUE;
+ //dev->priv_flags |= IFF_NO_QUEUE;
+ dev->tx_queue_len = 0;
/* Note for backporters: use dev->tx_queue_len = 0 instead of IFF_ */
}
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index e623b89..9002b96 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1296,7 +1296,8 @@
static u32 fq_hash(struct ieee80211_fq *fq, struct sk_buff *skb)
{
- u32 hash = skb_get_hash_perturb(skb, fq->perturbation);
+ //u32 hash = skb_get_hash_perturb(skb, fq->perturbation);
+ u32 hash = skb_get_hash(skb);
return reciprocal_scale(hash, fq->flows_cnt);
}