Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134900
b: refs/heads/master
c: f452a63
h: refs/heads/master
v: v3
  • Loading branch information
Alina Friedrichsen authored and John W. Linville committed Feb 27, 2009
1 parent a0a9e9c commit 31a12e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: bdceeb2dad5c8487ffeb4d0fa949686e4350ec7f
refs/heads/master: f452a63d1ea7d2bae9b4a0cd0a865bcee7ce90c4
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/ath9k/beacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -790,8 +790,6 @@ void ath_beacon_config(struct ath_softc *sc, int if_id)
u64 tsf;
u32 tsftu;
ath9k_hw_set_interrupts(ah, 0);
if (nexttbtt == intval)
intval |= ATH9K_BEACON_RESET_TSF;
if (sc->sc_ah->opmode == NL80211_IFTYPE_ADHOC) {
/*
* Pull nexttbtt forward to reflect the current
Expand Down Expand Up @@ -825,6 +823,9 @@ void ath_beacon_config(struct ath_softc *sc, int if_id)
sc->imask |= ATH9K_INT_SWBA;
ath_beaconq_config(sc);
} else if (sc->sc_ah->opmode == NL80211_IFTYPE_AP) {
if (nexttbtt == intval)
intval |= ATH9K_BEACON_RESET_TSF;

/*
* In AP mode we enable the beacon timers and
* SWBA interrupts to prepare beacon frames.
Expand Down

0 comments on commit 31a12e3

Please sign in to comment.