commit | 9adcf440dcc886a950a6049f928ab679912d99f4 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Sat Sep 03 01:40:26 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Sep 14 13:56:21 2011 -0400 |
tree | 3428035eecfbefc1a51890fcf211b885a4770c43 | |
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>