From: Felix Fietkau Date: Mon, 4 Oct 2010 18:09:47 +0000 (+0200) Subject: ath9k_hw: clean up ANI state handling X-Git-Tag: v2.6.37-rc1~147^2~191^2^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093115b7fd641f03d89404252044c976928764cb;p=pandora-kernel.git ath9k_hw: clean up ANI state handling 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed