ath9k: always call ath_reset from workqueue context
This makes it much easier to add further rework to avoid race conditions between reset and other work items. Move other functions to make ath_reset static. Signed-off-by:Felix Fietkau <nbd@openwrt.org> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- drivers/net/wireless/ath/ath9k/ath9k.h 2 additions, 1 deletiondrivers/net/wireless/ath/ath9k/ath9k.h
- drivers/net/wireless/ath/ath9k/beacon.c 1 addition, 3 deletionsdrivers/net/wireless/ath/ath9k/beacon.c
- drivers/net/wireless/ath/ath9k/init.c 1 addition, 0 deletionsdrivers/net/wireless/ath/ath9k/init.c
- drivers/net/wireless/ath/ath9k/main.c 13 additions, 4 deletionsdrivers/net/wireless/ath/ath9k/main.c
- drivers/net/wireless/ath/ath9k/xmit.c 9 additions, 5 deletionsdrivers/net/wireless/ath/ath9k/xmit.c
Loading
Please register or sign in to comment