summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/417-beacon_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-31 02:25:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-31 02:25:32 +0000
commit26099a3c2345d6fc4abbcbc08f58db15ea04577d (patch)
treea5b51ee707244e5675ccbab468024e45801eb33e /package/madwifi/patches/417-beacon_txpower.patch
parentd0b60d14ea3ced4a60015cc4d6443369c749d342 (diff)
downloadmtk-20170518-26099a3c2345d6fc4abbcbc08f58db15ea04577d.zip
mtk-20170518-26099a3c2345d6fc4abbcbc08f58db15ea04577d.tar.gz
mtk-20170518-26099a3c2345d6fc4abbcbc08f58db15ea04577d.tar.bz2
madwifi: add better hw detection, use a power offset for setting/getting tx power for cards that have a twisted eeprom
SVN-Revision: 16224
Diffstat (limited to 'package/madwifi/patches/417-beacon_txpower.patch')
-rw-r--r--package/madwifi/patches/417-beacon_txpower.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/417-beacon_txpower.patch b/package/madwifi/patches/417-beacon_txpower.patch
index 80d810a..5a336f8 100644
--- a/package/madwifi/patches/417-beacon_txpower.patch
+++ b/package/madwifi/patches/417-beacon_txpower.patch
@@ -9,7 +9,7 @@
static int countrycode = -1;
static int maxvaps = -1;
static int outdoor = -1;
-@@ -4931,6 +4931,7 @@ ath_beacon_setup(struct ath_softc *sc, s
+@@ -4932,6 +4932,7 @@ ath_beacon_setup(struct ath_softc *sc, s
(((_ic)->ic_flags & (IEEE80211_F_SHPREAMBLE | IEEE80211_F_USEBARKER))\
== IEEE80211_F_SHPREAMBLE)
struct ieee80211com *ic = bf->bf_node->ni_ic;
@@ -17,7 +17,7 @@
struct sk_buff *skb = bf->bf_skb;
struct ath_hal *ah = sc->sc_ah;
struct ath_desc *ds;
-@@ -4998,7 +4999,7 @@ ath_beacon_setup(struct ath_softc *sc, s
+@@ -4999,7 +5000,7 @@ ath_beacon_setup(struct ath_softc *sc, s
skb->len + IEEE80211_CRC_LEN, /* frame length */
sizeof(struct ieee80211_frame), /* header length */
HAL_PKT_TYPE_BEACON, /* Atheros packet type */