]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: pass regd structure directly to regulatory functions
authorBob Copeland <me@bobcopeland.com>
Tue, 31 Mar 2009 02:30:28 +0000 (22:30 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:37 +0000 (16:54 -0400)
commit9aac786041de737a40ee2f0363f4f9821fa34124
tree0a119c84972ead9f15752da578105391b31d31d5
parenta3909210c13f26b47c13d686c364093b9ad03f33
ath9k: pass regd structure directly to regulatory functions

All regulatory information is encapsulated by the ath9k_regulatory
struct, so we can now change all the callers to take that directly
instead of struct ath_hw.  This in turn will enable us to move the
regulatory functions to common code also used by ath5k, since both
can use this regulatory struct.

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/hw.c
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/regd.c
drivers/net/wireless/ath9k/regd.h