Commit 878bb77
wilc1000: use wait_for_completion_interruptible_timeout for completion
The default driver implementation blocks the TXQ task until the upper
layer posts Tx packet. If the interface is idle, the thread will be
in waiting state forever which makes the kernel to think that the
task is hung.
Use wait_for_completion_interruptible_timeout() inplace of
wait_for_completion_timeout() to solve this issue.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Sripad Balwadgi <Sripad.Balwadgi@microchip.com>1 parent 86433d9 commit 878bb77
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
393 | 394 | | |
394 | 395 | | |
395 | 396 | | |
396 | | - | |
| 397 | + | |
| 398 | + | |
397 | 399 | | |
398 | 400 | | |
399 | 401 | | |
| |||
0 commit comments