[source] mac80211: fix a harmless uninitialized variable warning

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 14 04:33:04 PDT 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=55761205ef8ae892e88c6201252b3f9ebf0f35fd

commit 55761205ef8ae892e88c6201252b3f9ebf0f35fd
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jul 14 13:31:53 2016 +0200

    mac80211: fix a harmless uninitialized variable warning
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/kernel/mac80211/patches/220-fq_disable_hack.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/mac80211/patches/220-fq_disable_hack.patch b/package/kernel/mac80211/patches/220-fq_disable_hack.patch
index c5721b5..7f420be 100644
--- a/package/kernel/mac80211/patches/220-fq_disable_hack.patch
+++ b/package/kernel/mac80211/patches/220-fq_disable_hack.patch
@@ -8,7 +8,7 @@ performance. Disable it until the cause has been found and fixed
  	lockdep_assert_held(&fq->lock);
  
 +	/* HACK: disable fq for now until TCP issues are fixed */
-+	return get_default_func(fq, tin, idx, skb);
++	return get_default_func(fq, tin, 0, skb);
 +
  	hash = skb_get_hash_perturb(skb, fq->perturbation);
  	idx = reciprocal_scale(hash, fq->flows_cnt);



More information about the lede-commits mailing list