summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/carl9170/phy.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2011-06-30 20:34:54 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-07-05 15:26:53 -0400
commit1205f5438f5a9a2dad3a29aa1c015e7bbd3b2b2b (patch)
tree4023baba1892f5ecb86a7ddde6e11a11786b4dba /drivers/net/wireless/ath/carl9170/phy.c
parentf3716fd7494ce5e2af3c6251275d989bfec98906 (diff)
downloadlinux-next-1205f5438f5a9a2dad3a29aa1c015e7bbd3b2b2b.tar.gz
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.c6
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,
}
}
- /* FIXME: PSM does not work in 5GHz Band */
- if (channel->band == IEEE80211_BAND_5GHZ)
- ar->ps.off_override |= PS_OFF_5GHZ;
- else
- ar->ps.off_override &= ~PS_OFF_5GHZ;
-
ar->channel = channel;
ar->ht_settings = new_ht;
return 0;