Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149859
b: refs/heads/master
c: 4658b98
h: refs/heads/master
i:
  149857: f8173c3
  149855: d3a7c89
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Apr 22, 2009
1 parent 739b151 commit ef4c3d0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 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: 7dd58748592db1e5a77cfbddb8beffcfdb0242fe
refs/heads/master: 4658b985170d9d0c88304d2d4459938b600f8c0b
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/ath9k/ath9k.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ struct ath_config {
u32 ath_aggr_prot;
u16 txpowlimit;
u8 cabqReadytime;
u8 swBeaconProcess;
};

/*************************/
Expand Down
14 changes: 0 additions & 14 deletions trunk/drivers/net/wireless/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1542,9 +1542,6 @@ static int ath_init(u16 devid, struct ath_softc *sc)
sc->beacon.bslot_aphy[i] = NULL;
}

/* save MISC configurations */
sc->config.swBeaconProcess = 1;

/* setup channels and rates */

sc->sbands[IEEE80211_BAND_2GHZ].channels = ath9k_2ghz_chantable;
Expand Down Expand Up @@ -2253,17 +2250,6 @@ static int ath9k_add_interface(struct ieee80211_hw *hw,
sc->imask |= ATH9K_INT_TSFOOR;
}

/*
* Some hardware processes the TIM IE and fires an
* interrupt when the TIM bit is set. For hardware
* that does, if not overridden by configuration,
* enable the TIM interrupt when operating as station.
*/
if ((sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_ENHANCEDPM) &&
(conf->type == NL80211_IFTYPE_STATION) &&
!sc->config.swBeaconProcess)
sc->imask |= ATH9K_INT_TIM;

ath9k_hw_set_interrupts(sc->sc_ah, sc->imask);

if (conf->type == NL80211_IFTYPE_AP) {
Expand Down

0 comments on commit ef4c3d0

Please sign in to comment.