aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/carl9170/fw.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2011-06-30 14:34:54 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-05 15:26:53 -0400
commit1205f5438f5a9a2dad3a29aa1c015e7bbd3b2b2b (patch)
tree4023baba1892f5ecb86a7ddde6e11a11786b4dba /drivers/net/wireless/ath/carl9170/fw.c
parentf3716fd7494ce5e2af3c6251275d989bfec98906 (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/fw.c')
-rw-r--r--drivers/net/wireless/ath/carl9170/fw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/fw.c b/drivers/net/wireless/ath/carl9170/fw.c
index 221957c5d373..39ddea5794f7 100644
--- a/drivers/net/wireless/ath/carl9170/fw.c
+++ b/drivers/net/wireless/ath/carl9170/fw.c
@@ -237,7 +237,7 @@ static int carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len)
237 ar->disable_offload = true; 237 ar->disable_offload = true;
238 } 238 }
239 239
240 if (SUPP(CARL9170FW_PSM)) 240 if (SUPP(CARL9170FW_PSM) && SUPP(CARL9170FW_FIXED_5GHZ_PSM))
241 ar->hw->flags |= IEEE80211_HW_SUPPORTS_PS; 241 ar->hw->flags |= IEEE80211_HW_SUPPORTS_PS;
242 242
243 if (!SUPP(CARL9170FW_USB_INIT_FIRMWARE)) { 243 if (!SUPP(CARL9170FW_USB_INIT_FIRMWARE)) {