]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ath9k: separate ath9k specific code from ath9k_regd_get_ctl()
authorBob Copeland <me@bobcopeland.com>
Tue, 31 Mar 2009 02:30:27 +0000 (22:30 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:37 +0000 (16:54 -0400)
commitfc2ada30cacc28c96eabc598d3ef294338d8dcf5
tree7bf4c3c16c763a881937c2faf5b17d9d6a238ef8
parent55a3757a5703ebc58612ffbfbcb7f193dae17df7
ath9k: separate ath9k specific code from ath9k_regd_get_ctl()

Until ath5k and ath9k share common channel structures, they will have
to implement their own get_ctl() function.  Split out the portion that
only relies on the current band and reg domain so that it can be common
code.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/regd.c