diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-03 01:40:26 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-14 13:56:21 -0400 |
commit | 9adcf440dcc886a950a6049f928ab679912d99f4 (patch) | |
tree | 3428035eecfbefc1a51890fcf211b885a4770c43 /drivers/net/wireless/ath/ath9k/init.c | |
parent | 236de5149b9cbec3e76aef00a4663a8de7feeebe (diff) |
ath9k: merge reset related functions
reduces unnecessary code duplication. Also takes the sc_pcu_lock within
ath_reset instead of callsites, which makes it possible to always cancel
all queued work items before the reset, possibly fixing a few race
conditions (work items vs reset) along with it.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
0 files changed, 0 insertions, 0 deletions