aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/375-atim_tsf_update.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-11-12 15:14:27 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-11-12 15:14:27 +0000
commit1c346885afb1d8dad16c48f5e28bf31e2692b0e9 (patch)
tree682a176590b2af13b6440a0e7e2e4c40b528138b /package/madwifi/patches/375-atim_tsf_update.patch
parentbcc4ec3c11cc6035f29f55a422199d4523e7d252 (diff)
downloadmaster-187ad058-1c346885afb1d8dad16c48f5e28bf31e2692b0e9.tar.gz
master-187ad058-1c346885afb1d8dad16c48f5e28bf31e2692b0e9.tar.bz2
master-187ad058-1c346885afb1d8dad16c48f5e28bf31e2692b0e9.zip
package/madwifi: refresh madwifi patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23971 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/375-atim_tsf_update.patch')
-rw-r--r--package/madwifi/patches/375-atim_tsf_update.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/375-atim_tsf_update.patch b/package/madwifi/patches/375-atim_tsf_update.patch
index 9381f8a818..d1313aa564 100644
--- a/package/madwifi/patches/375-atim_tsf_update.patch
+++ b/package/madwifi/patches/375-atim_tsf_update.patch
@@ -81,7 +81,7 @@
/*
* Reset the hardware w/o losing operational state. This is
* basically a more efficient way of doing ath_stop, ath_init,
-@@ -5294,6 +5361,7 @@ ath_beacon_config(struct ath_softc *sc,
+@@ -5294,6 +5361,7 @@ ath_beacon_config(struct ath_softc *sc,
u_int64_t tsf, hw_tsf;
u_int32_t tsftu, hw_tsftu;
u_int32_t intval, nexttbtt = 0;
@@ -89,7 +89,7 @@
int reset_tsf = 0;
if (vap == NULL)
-@@ -5301,6 +5369,9 @@ ath_beacon_config(struct ath_softc *sc,
+@@ -5301,6 +5369,9 @@ ath_beacon_config(struct ath_softc *sc,
ni = vap->iv_bss;
@@ -99,7 +99,7 @@
hw_tsf = ath_hal_gettsf64(ah);
tsf = le64_to_cpu(ni->ni_tstamp.tsf);
hw_tsftu = hw_tsf >> 10;
-@@ -5490,15 +5561,27 @@ ath_beacon_config(struct ath_softc *sc,
+@@ -5490,15 +5561,27 @@ ath_beacon_config(struct ath_softc *sc,
<= ath_hal_sw_beacon_response_time)
nexttbtt += intval;
sc->sc_nexttbtt = nexttbtt;