aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/main.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-02-21 00:04:30 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:57 -0500
commitfe33eb390854886e1fd5d4835d833b80d145aafb (patch)
tree5349c48092c9528b5640d5981425e161e0731ed3 /drivers/net/wireless/ath9k/main.c
parent0441d6ffc705de17d85923264a1b03b71ebfccb8 (diff)
cfg80211: move all regulatory hints to workqueue
All regulatory hints (core, driver, userspace and 11d) are now processed in a workqueue. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath9k/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index b47cbe9e7a5a..1e3824215ac9 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -1656,8 +1656,12 @@ int ath_attach(u16 devid, struct ath_softc *sc)
1656 1656
1657 error = ieee80211_register_hw(hw); 1657 error = ieee80211_register_hw(hw);
1658 1658
1659 if (!ath9k_is_world_regd(sc->sc_ah)) 1659 if (!ath9k_is_world_regd(sc->sc_ah)) {
1660 regulatory_hint(hw->wiphy, sc->sc_ah->regulatory.alpha2); 1660 error = regulatory_hint(hw->wiphy,
1661 sc->sc_ah->regulatory.alpha2);
1662 if (error)
1663 goto error_attach;
1664 }
1661 1665
1662 /* Initialize LED control */ 1666 /* Initialize LED control */
1663 ath_init_leds(sc); 1667 ath_init_leds(sc);