ath: move more setup code into ath_regd_init
authorBob Copeland <me@bobcopeland.com>
Tue, 31 Mar 2009 02:30:30 +0000 (22:30 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:37 +0000 (16:54 -0400)
commite3bb249be89dd387e78ca382d08fad31745edac9
tree9050d6502ace74b8c5c3577825d1b91011fce8be
parent3a702e49c03ba959e3f5bb2b74ec9921a81c8c98
ath: move more setup code into ath_regd_init

Setup the wiphy regulatory parameters when first initializing the
Atheros regulatory module.  We can remove five exported symbols this
way and simplify the driver code for both ath5k and ath9k.

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