Repository navigation
Commit db17834
ath5k: do not reschedule tx_complete_work on stop
This patch claim to fix "WARNING: at net/mac80211/util.c:599
ieee80211_can_queue_work.isra.7+0x30/0x40", which was reported at:
https://bugzilla.redhat.com/show_bug.cgi?id=922295
We use ATH_STAT_STARTED flag to disallow to perform
ath5k_tx_complete_poll_work() code, hence reschedule
ah->tx_complete_work, when we stop device. This flag was defined in
ath5k code, but it was not used.
I didn't get feedback if the fix works, so patch is compile only tested.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>1 parent 4ef69d0 commit db17834
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2369 | 2369 | | |
2370 | 2370 | | |
2371 | 2371 | | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
2372 | 2375 | | |
2373 | 2376 | | |
2374 | 2377 | | |
| |||
2676 | 2679 | | |
2677 | 2680 | | |
2678 | 2681 | | |
| 2682 | + | |
2679 | 2683 | | |
2680 | 2684 | | |
2681 | 2685 | | |
| |||
2737 | 2741 | | |
2738 | 2742 | | |
2739 | 2743 | | |
| 2744 | + | |
2740 | 2745 | | |
2741 | 2746 | | |
2742 | 2747 | | |
| |||
0 commit comments