diff options
author | Sujith | 2008-09-17 06:45:36 +0200 |
---|---|---|
committer | John W. Linville | 2008-09-24 22:18:02 +0200 |
commit | 459f5f90f1bd959ced04761406415b178b315177 (patch) | |
tree | 4942464314d109e400d0a266e7f596bd4cbda969 /drivers/net/wireless/ath9k/core.h | |
parent | ath9k: Whitespace cleanup (diff) | |
download | kernel-qcow2-linux-459f5f90f1bd959ced04761406415b178b315177.tar.gz kernel-qcow2-linux-459f5f90f1bd959ced04761406415b178b315177.tar.xz kernel-qcow2-linux-459f5f90f1bd959ced04761406415b178b315177.zip |
ath9k: Fix nexttbtt calculation
nexttbtt has to be obtained from the timestamp of the beacon
obtained from mac80211. Fix this.
And <asm/unaligned.h> is not needed anymore.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/core.h')
-rw-r--r-- | drivers/net/wireless/ath9k/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/core.h b/drivers/net/wireless/ath9k/core.h index b66de29cf662..6ff3befe39f7 100644 --- a/drivers/net/wireless/ath9k/core.h +++ b/drivers/net/wireless/ath9k/core.h @@ -1001,6 +1001,7 @@ struct ath_softc { u32 sc_bhalq; u32 sc_bmisscount; u32 ast_be_xmit; /* beacons transmitted */ + u64 bc_tstamp; /* Rate */ struct ieee80211_rate rates[IEEE80211_NUM_BANDS][ATH_RATE_MAX]; |