# Re: \[PATCH\] Repair soft lockup with monitor mode of ath9k\_htc card

- From: Kalle Valo \<hidden\>
- Date: 2015-01-30 10:45:08 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2015/01/4422140
- Thread: https://ratatoskr.run/linux-wireless/2015/01/4422140/t.md

```text
yuweizheng@139.com writes:

> From: Yuwei Zheng <redacted>
>
> In the environment with heavy wifi traffic, set the ar9271 into
> monitor mode, will trigger a deadloop panic.
>  
> The ath9k_hif_usb_rx_cb function excute on  the interrupt context, and ath9k_rx_tasklet excute
> on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have more chance to excute than
> ath9k_rx_tasklet.  So in the worst condition,  the rx.rxbuf receive list is always full,
> and the do {}while(true) loop will not be break. The kernel get a soft lockup panic. 

Word wrapping is too long and please prefix the title with "ath9k_htc: ".

-- 
Kalle Valo
```
