]> git.baikalelectronics.ru Git - kernel.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)
commita3909210c13f26b47c13d686c364093b9ad03f33
tree7bf4c3c16c763a881937c2faf5b17d9d6a238ef8
parent5b2222c0debd686c067beeb12f0d12e473c8e0c8
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