Skip to content

Commit

Permalink
ath9k_hw: clean up ANI state handling
Browse files Browse the repository at this point in the history
ANI state is kept per channel, so instead of keeping an array of ANI states
with an arbitrary size of 255, move the ANI state into the channel struct.

Move some config settings that are not per-channel out of
the per-channel struct to save some memory.

With those changes, ath9k_ani_restart_old and ath9k_ani_restart_new can
be merged into a single function.

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 Oct 6, 2010
1 parent 71ea420 commit 093115b
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 260 deletions.
Loading

0 comments on commit 093115b

Please sign in to comment.