From: Felix Fietkau <nbd@openwrt.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Slow connection when using eduroam (AR9285)
Date: Sun, 23 Feb 2014 09:34:28 +0100 [thread overview]
Message-ID: <5309B294.7090407@openwrt.org> (raw)
In-Reply-To: <CAJxG8srxXM6yQy9AKmmQx81_OaV5b2oAzQ-rjue6Sa=z2-h9eg@mail.gmail.com>
On 2014-02-23 04:08, Marco Andr? Dinis wrote:
> (After some hours :D ) I found the first bad commit
>
>
> ? wireless-testing $ git bisect good
>
> 723e711356b5a8a95728a890e254e8b0d47b55cf is the first bad commit
> commit 723e711356b5a8a95728a890e254e8b0d47b55cf
> Author: Felix Fietkau <nbd at openwrt.org <mailto:nbd@openwrt.org>>
> Date: Mon Apr 8 00:04:11 2013 +0200
> ath9k: fix handling of broken descriptors
Please apply this patch and show me how often the printk triggers.
---
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
index 076dae1..3c86d08 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -794,8 +794,11 @@ static int ath9k_rx_skb_preprocess(struct ath_softc *sc,
* ath_get_next_rx_buf().
*/
sc->rx.discard_next = rx_stats->rs_more;
- if (discard_current)
+ if (discard_current) {
+ if (net_ratelimit())
+ ath_printk(KERN_INFO, common, "discard current packet, more: %d\n", rx_stats->rs_more);
return -EINVAL;
+ }
/*
* Discard zero-length packets.
next prev parent reply other threads:[~2014-02-23 8:34 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 9:50 [ath9k-devel] Slow connection when using eduroam (AR9285) Marco André Dinis
2014-02-18 16:03 ` Oleksij Rempel
2014-02-18 17:21 ` Marco André Dinis
2014-02-18 17:36 ` Oleksij Rempel
2014-02-19 3:31 ` Sujith Manoharan
2014-02-19 9:24 ` Marco André Dinis
2014-02-21 21:54 ` Marco André Dinis
2014-02-22 8:59 ` Oleksij Rempel
2014-02-22 13:39 ` Marco André Dinis
2014-02-22 13:43 ` Oleksij Rempel
[not found] ` <CAJxG8sp0nYOCbu2L3xvOb_w3Cw=8H1XisnME2zW6tZ4EBDqy9g@mail.gmail.com>
[not found] ` <5308CA10.5060007@rempel-privat.de>
2014-02-22 18:14 ` Marco André Dinis
2014-02-22 19:02 ` Oleksij Rempel
2014-02-23 3:08 ` Marco André Dinis
2014-02-23 7:56 ` Oleksij Rempel
2014-02-23 8:34 ` Felix Fietkau [this message]
2014-02-23 19:44 ` Marco André Dinis
2014-02-24 7:34 ` Felix Fietkau
2014-02-24 21:13 ` Marco André Dinis
2014-02-24 3:54 ` Jonathan North Washington
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5309B294.7090407@openwrt.org \
--to=nbd@openwrt.org \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.