]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix custom regulatory call position
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 19 May 2009 22:27:11 +0000 (18:27 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:36 +0000 (14:46 -0400)
commit4d04845c38e37ba2ca56665f515bed57d85f6d7a
tree43625f14fae80cf1c50b555c059ee5308db035d3
parent4a9aed70be44f65f38a8186951201480ddc77a4a
ath9k: fix custom regulatory call position

ath_regd_init() needs to be called with the wiphy already
properly set with the bands. Without this the custom regulatory
settings were not taking effect, and the device would get
the default channel settings from ath9k_[25]ghz_chantable.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c