From: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
To: <kvalo@qca.qualcomm.com>
Cc: <linux-wireless@vger.kernel.org>, <ath6kl-devel@qualcomm.com>
Subject: [PATCH 1/6] ath6kl: Make sure to delete rx aggregation timer in aggr_reset_state()
Date: Fri, 20 Jan 2012 21:21:57 +0530 [thread overview]
Message-ID: <1327074722-3492-1-git-send-email-vthiagar@qca.qualcomm.com> (raw)
The timer which is used to flush rx aggregation frames needs to
be disabled when resetting the aggregation state. This is found
in code review.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
---
drivers/net/wireless/ath/ath6kl/txrx.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/ath/ath6kl/txrx.c b/drivers/net/wireless/ath/ath6kl/txrx.c
index dd63371..cb7421a 100644
--- a/drivers/net/wireless/ath/ath6kl/txrx.c
+++ b/drivers/net/wireless/ath/ath6kl/txrx.c
@@ -1685,6 +1685,11 @@ void aggr_reset_state(struct aggr_info *aggr_info)
{
u8 tid;
+ if (aggr_info->timer_scheduled) {
+ del_timer(&aggr_info->timer);
+ aggr_info->timer_scheduled = false;
+ }
+
for (tid = 0; tid < NUM_OF_TIDS; tid++)
aggr_delete_tid_state(aggr_info, tid);
}
--
1.7.0.4
next reply other threads:[~2012-01-20 15:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 15:51 Vasanthakumar Thiagarajan [this message]
2012-01-20 15:51 ` [PATCH 2/6] ath6kl: Fix memory leak when unloading ath6kl_sdio Vasanthakumar Thiagarajan
2012-01-20 15:51 ` [PATCH 3/6] ath6kl: Define a structure for connection specific aggregation information Vasanthakumar Thiagarajan
2012-01-20 15:52 ` [PATCH 4/6] ath6kl: Pass vif instead of ar to ath6kl_add_new_sta() Vasanthakumar Thiagarajan
2012-01-20 15:52 ` [PATCH 5/6] ath6kl: Fix bug in using tid given by addba/delba req events Vasanthakumar Thiagarajan
2012-01-20 15:52 ` [PATCH 6/6] ath6kl: Fix bug in maintaining aggregation state in AP mode Vasanthakumar Thiagarajan
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=1327074722-3492-1-git-send-email-vthiagar@qca.qualcomm.com \
--to=vthiagar@qca.qualcomm.com \
--cc=ath6kl-devel@qualcomm.com \
--cc=kvalo@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).