summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/375-atim_tsf_update.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-11-02 13:03:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-11-02 13:03:03 +0000
commit891b476e67c64477aac32094a29f3345e742da45 (patch)
treeb4a60f0da149a0f538541c85ada3e57600bb531e /package/madwifi/patches/375-atim_tsf_update.patch
parent9e98573a53e81aa35cd43f837a28095a4fdd8b3b (diff)
downloadmtk-20170518-891b476e67c64477aac32094a29f3345e742da45.zip
mtk-20170518-891b476e67c64477aac32094a29f3345e742da45.tar.gz
mtk-20170518-891b476e67c64477aac32094a29f3345e742da45.tar.bz2
fix a rare wds related noderef issue
SVN-Revision: 13095
Diffstat (limited to 'package/madwifi/patches/375-atim_tsf_update.patch')
-rw-r--r--package/madwifi/patches/375-atim_tsf_update.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/madwifi/patches/375-atim_tsf_update.patch b/package/madwifi/patches/375-atim_tsf_update.patch
index 534986b..35d8e1a 100644
--- a/package/madwifi/patches/375-atim_tsf_update.patch
+++ b/package/madwifi/patches/375-atim_tsf_update.patch
@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -161,6 +161,7 @@
+@@ -161,6 +161,7 @@ static void ath_beacon_send(struct ath_s
static void ath_beacon_return(struct ath_softc *, struct ath_buf *);
static void ath_beacon_free(struct ath_softc *);
static void ath_beacon_config(struct ath_softc *, struct ieee80211vap *);
@@ -8,7 +8,7 @@
static int ath_desc_alloc(struct ath_softc *);
static void ath_desc_free(struct ath_softc *);
static void ath_desc_swap(struct ath_desc *);
-@@ -2793,6 +2794,72 @@
+@@ -2793,6 +2794,72 @@ ath_set_ack_bitrate(struct ath_softc *sc
return 1;
}
@@ -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,
-@@ -5292,6 +5359,7 @@
+@@ -5292,6 +5359,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)
-@@ -5299,6 +5367,9 @@
+@@ -5299,6 +5367,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;
-@@ -5488,15 +5559,27 @@
+@@ -5488,15 +5559,27 @@ ath_beacon_config(struct ath_softc *sc,
<= ath_hal_sw_beacon_response_time)
nexttbtt += intval;
sc->sc_nexttbtt = nexttbtt;
@@ -127,7 +127,7 @@
/* We print all debug messages here, in order to preserve the
* time critical aspect of this function */
DPRINTF(sc, ATH_DEBUG_BEACON,
-@@ -6399,6 +6482,11 @@
+@@ -6399,6 +6482,11 @@ ath_recv_mgmt(struct ieee80211vap * vap,
DPRINTF(sc, ATH_DEBUG_BEACON,
"Updated beacon timers\n");
}