Skip to content

Commit

Permalink
ath9k: merge reset related functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Sep 14, 2011
1 parent 236de51 commit 9adcf44
Showing 1 changed file with 127 additions and 176 deletions.
Loading

0 comments on commit 9adcf44

Please sign in to comment.