linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] ath6kl: Make sure to delete rx aggregation timer in aggr_reset_state()
@ 2012-01-20 15:51 Vasanthakumar Thiagarajan
  2012-01-20 15:51 ` [PATCH 2/6] ath6kl: Fix memory leak when unloading ath6kl_sdio Vasanthakumar Thiagarajan
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Vasanthakumar Thiagarajan @ 2012-01-20 15:51 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless, ath6kl-devel

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-20 15:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-20 15:51 [PATCH 1/6] ath6kl: Make sure to delete rx aggregation timer in aggr_reset_state() Vasanthakumar Thiagarajan
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

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).