diff options
-rw-r--r-- | 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 dd6337142603..cb7421a31619 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) | |||
1685 | { | 1685 | { |
1686 | u8 tid; | 1686 | u8 tid; |
1687 | 1687 | ||
1688 | if (aggr_info->timer_scheduled) { | ||
1689 | del_timer(&aggr_info->timer); | ||
1690 | aggr_info->timer_scheduled = false; | ||
1691 | } | ||
1692 | |||
1688 | for (tid = 0; tid < NUM_OF_TIDS; tid++) | 1693 | for (tid = 0; tid < NUM_OF_TIDS; tid++) |
1689 | aggr_delete_tid_state(aggr_info, tid); | 1694 | aggr_delete_tid_state(aggr_info, tid); |
1690 | } | 1695 | } |