Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256185
b: refs/heads/master
c: 1205f54
h: refs/heads/master
i:
  256183: c1daf3c
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Jul 5, 2011
1 parent 5ce8a90 commit 4f48de2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3716fd7494ce5e2af3c6251275d989bfec98906
refs/heads/master: 1205f5438f5a9a2dad3a29aa1c015e7bbd3b2b2b
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/ath/carl9170/carl9170.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ struct ar9170 {
enum carl9170_ps_off_override_reasons {
PS_OFF_VIF = BIT(0),
PS_OFF_BCN = BIT(1),
PS_OFF_5GHZ = BIT(2),
};

struct carl9170_ba_stats {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/ath/carl9170/fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ static int carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len)
ar->disable_offload = true;
}

if (SUPP(CARL9170FW_PSM))
if (SUPP(CARL9170FW_PSM) && SUPP(CARL9170FW_FIXED_5GHZ_PSM))
ar->hw->flags |= IEEE80211_HW_SUPPORTS_PS;

if (!SUPP(CARL9170FW_USB_INIT_FIRMWARE)) {
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/net/wireless/ath/carl9170/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4f48de2

Please sign in to comment.