提交 7a950ea8 编写于 作者: V Vasanthakumar Thiagarajan 提交者: Kalle Valo

ath6kl: Make sure to delete rx aggregation timer in aggr_reset_state()

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: NVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 241b128b
...@@ -1685,6 +1685,11 @@ void aggr_reset_state(struct aggr_info *aggr_info) ...@@ -1685,6 +1685,11 @@ void aggr_reset_state(struct aggr_info *aggr_info)
{ {
u8 tid; 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++) for (tid = 0; tid < NUM_OF_TIDS; tid++)
aggr_delete_tid_state(aggr_info, tid); aggr_delete_tid_state(aggr_info, tid);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册