summaryrefslogtreecommitdiff
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-03 17:25:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-03 17:25:07 +0000
commitc9552f3101ef283ce74c587bce3bf429acbbc5ad (patch)
tree2dd50be55e84229c385fdf12e16daa0a5f39bffc /package/madwifi/patches
parent187b76991db178fcb6361c58636268e1614b2a9c (diff)
downloadmtk-20170518-c9552f3101ef283ce74c587bce3bf429acbbc5ad.zip
mtk-20170518-c9552f3101ef283ce74c587bce3bf429acbbc5ad.tar.gz
mtk-20170518-c9552f3101ef283ce74c587bce3bf429acbbc5ad.tar.bz2
fix linux 2.4 compile with latest ibss fixes (thx, sven-ola)
SVN-Revision: 12841
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/375-atim_tsf_update.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/375-atim_tsf_update.patch b/package/madwifi/patches/375-atim_tsf_update.patch
index 3800b90..cd5eefa 100644
--- a/package/madwifi/patches/375-atim_tsf_update.patch
+++ b/package/madwifi/patches/375-atim_tsf_update.patch
@@ -37,7 +37,7 @@
+ struct ath_hal *ah = sc->sc_ah;
+ int dev = sc->sc_ah->ah_macType;
+ unsigned int nbtt, atim;
-+ bool is_5210 = false;
++ bool is_5210 = 0;
+
+ /*
+ * check if the ATIM window is still correct:
@@ -50,7 +50,7 @@
+ case 5210:
+ nbtt = OS_REG_READ(ah, AR5K_TIMER0_5210);
+ atim = OS_REG_READ(ah, AR5K_TIMER3_5210);
-+ is_5210 = true;
++ is_5210 = 1;
+ break;
+ case 5211:
+ case 5212: