diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-01 17:15:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-01 17:15:25 -0700 |
commit | 5e58e5283a0a0a99ee970e7e5c80c6541693376e (patch) | |
tree | 40409bad22ddc6c37b23ae8e518bbd6b2f39007c /drivers/net/wireless/ath/ath9k/main.c | |
parent | c100c8f4c3c6f2a407bdbaaad2c4f1062e6a473a (diff) | |
parent | ffd8c746fbef50cf12df239f9d23c2afe1a2c3cb (diff) | |
download | kernel_goldelico_gta04-5e58e5283a0a0a99ee970e7e5c80c6541693376e.zip kernel_goldelico_gta04-5e58e5283a0a0a99ee970e7e5c80c6541693376e.tar.gz kernel_goldelico_gta04-5e58e5283a0a0a99ee970e7e5c80c6541693376e.tar.bz2 |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 5248257..dddb85d 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1048,6 +1048,8 @@ static int ath9k_start(struct ieee80211_hw *hw) "Starting driver with initial channel: %d MHz\n", curchan->center_freq); + ath9k_ps_wakeup(sc); + mutex_lock(&sc->mutex); /* setup initial channel */ @@ -1143,6 +1145,8 @@ static int ath9k_start(struct ieee80211_hw *hw) mutex_unlock: mutex_unlock(&sc->mutex); + ath9k_ps_restore(sc); + return r; } |