aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/436-injection_checks.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/436-injection_checks.patch
parentd0b60d14ea3ced4a60015cc4d6443369c749d342 (diff)
downloadupstream-26099a3c2345d6fc4abbcbc08f58db15ea04577d.tar.gz
upstream-26099a3c2345d6fc4abbcbc08f58db15ea04577d.tar.bz2
upstream-26099a3c2345d6fc4abbcbc08f58db15ea04577d.zip
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/436-injection_checks.patch')
-rw-r--r--package/madwifi/patches/436-injection_checks.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/436-injection_checks.patch b/package/madwifi/patches/436-injection_checks.patch
index 7bdd82c0f9..d071d37f95 100644
--- a/package/madwifi/patches/436-injection_checks.patch
+++ b/package/madwifi/patches/436-injection_checks.patch
@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -3199,7 +3199,13 @@ ath_tx_startraw(struct net_device *dev,
+@@ -3200,7 +3200,13 @@ ath_tx_startraw(struct net_device *dev,
struct ieee80211_frame *wh;
wh = (struct ieee80211_frame *)skb->data;
@@ -14,7 +14,7 @@
rt = sc->sc_currates;
txrate = dot11_to_ratecode(sc, rt, ph->rate0);
power = ph->power > 63 ? 63 : ph->power;
-@@ -3224,7 +3230,8 @@ ath_tx_startraw(struct net_device *dev,
+@@ -3225,7 +3231,8 @@ ath_tx_startraw(struct net_device *dev,
rt = sc->sc_currates;
KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));