Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183565
b: refs/heads/master
c: 14acdde
h: refs/heads/master
i:
  183563: ceb8750
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Jan 12, 2010
1 parent 1d6ca94 commit c197470
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: cfa6cb2048beb35ae7f1d2fa19160aab240557d1
refs/heads/master: 14acdde6e527950f66c084dbf19bad6fbfcaeedc
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1838,6 +1838,8 @@ static int ath_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid,

void ath_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
{
struct ath_hw *ah = sc->sc_ah;

hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
IEEE80211_HW_SIGNAL_DBM |
Expand All @@ -1855,7 +1857,8 @@ void ath_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
BIT(NL80211_IFTYPE_ADHOC) |
BIT(NL80211_IFTYPE_MESH_POINT);

hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
if (AR_SREV_5416(ah))
hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;

hw->queues = 4;
hw->max_rates = 4;
Expand Down

0 comments on commit c197470

Please sign in to comment.