All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 1/6] ath6kl: Make sure to delete rx aggregation timer in aggr_reset_state()
@ 2012-01-21  9:52 Vasanthakumar Thiagarajan
  2012-01-21  9:52 ` [PATCH V2 2/6] ath6kl: Fix memory leak when unloading ath6kl_sdio Vasanthakumar Thiagarajan
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Vasanthakumar Thiagarajan @ 2012-01-21  9:52 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] 9+ messages in thread

end of thread, other threads:[~2012-01-25 16:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-21  9:52 [PATCH V2 1/6] ath6kl: Make sure to delete rx aggregation timer in aggr_reset_state() Vasanthakumar Thiagarajan
2012-01-21  9:52 ` [PATCH V2 2/6] ath6kl: Fix memory leak when unloading ath6kl_sdio Vasanthakumar Thiagarajan
2012-01-21  9:52 ` [PATCH V2 3/6] ath6kl: Define a structure for connection specific aggregation information Vasanthakumar Thiagarajan
2012-01-21  9:52 ` [PATCH V2 4/6] ath6kl: Pass vif instead of ar to ath6kl_add_new_sta() Vasanthakumar Thiagarajan
2012-01-21  9:52 ` [PATCH V2 5/6] ath6kl: Fix bug in using tid given by addba/delba req events Vasanthakumar Thiagarajan
2012-01-21  9:52 ` [PATCH V2 6/6] ath6kl: Fix bug in maintaining aggregation state in AP mode Vasanthakumar Thiagarajan
2012-01-24 12:37 ` [PATCH V2 1/6] ath6kl: Make sure to delete rx aggregation timer in aggr_reset_state() Kalle Valo
2012-01-25 16:03   ` Vasanthakumar Thiagarajan
2012-01-25 16:22     ` Kalle Valo

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.