diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2011-06-30 14:34:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-05 15:26:53 -0400 |
commit | 1205f5438f5a9a2dad3a29aa1c015e7bbd3b2b2b (patch) | |
tree | 4023baba1892f5ecb86a7ddde6e11a11786b4dba /drivers/net/wireless/ath/carl9170/phy.c | |
parent | f3716fd7494ce5e2af3c6251275d989bfec98906 (diff) |
carl9170: allow PSM if the 5 GHz band is selected
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/phy.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/phy.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/carl9170/phy.c b/drivers/net/wireless/ath/carl9170/phy.c index b6ae0e179c8d..da1ab962ee48 100644 --- a/drivers/net/wireless/ath/carl9170/phy.c +++ b/drivers/net/wireless/ath/carl9170/phy.c | |||
@@ -1783,12 +1783,6 @@ int carl9170_set_channel(struct ar9170 *ar, struct ieee80211_channel *channel, | |||
1783 | } | 1783 | } |
1784 | } | 1784 | } |
1785 | 1785 | ||
1786 | /* FIXME: PSM does not work in 5GHz Band */ | ||
1787 | if (channel->band == IEEE80211_BAND_5GHZ) | ||
1788 | ar->ps.off_override |= PS_OFF_5GHZ; | ||
1789 | else | ||
1790 | ar->ps.off_override &= ~PS_OFF_5GHZ; | ||
1791 | |||
1792 | ar->channel = channel; | 1786 | ar->channel = channel; |
1793 | ar->ht_settings = new_ht; | 1787 | ar->ht_settings = new_ht; |
1794 | return 0; | 1788 | return 0; |