diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-07-12 19:17:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-07-12 19:17:32 +0000 |
commit | 9df0e0206ff58e2d1753235cfba1889bc710f09b (patch) | |
tree | dd0acdf3c61410232d4523b08aedd7e0a6669646 /package | |
parent | a07641c906b7abd82ebce29564ed5ab2d45033cc (diff) | |
download | upstream-9df0e0206ff58e2d1753235cfba1889bc710f09b.tar.gz upstream-9df0e0206ff58e2d1753235cfba1889bc710f09b.tar.bz2 upstream-9df0e0206ff58e2d1753235cfba1889bc710f09b.zip |
add tpc change from #1949
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7947 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/madwifi/patches/125-tpc_PR_1435.patch | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/package/madwifi/patches/125-tpc_PR_1435.patch b/package/madwifi/patches/125-tpc_PR_1435.patch index 5ecb9c6550..17072f7952 100644 --- a/package/madwifi/patches/125-tpc_PR_1435.patch +++ b/package/madwifi/patches/125-tpc_PR_1435.patch @@ -1,7 +1,7 @@ Index: madwifi-ng-r2568-20070710/ath/if_ath.c =================================================================== ---- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-11 22:59:42.904293522 +0200 -+++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-11 22:59:44.052358947 +0200 +--- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-12 21:15:09.998476392 +0200 ++++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-12 21:15:23.995274023 +0200 @@ -273,9 +273,7 @@ static char *autocreate = NULL; static char *ratectl = DEF_RATE_CTL; @@ -85,3 +85,15 @@ Index: madwifi-ng-r2568-20070710/ath/if_ath.c } +Index: madwifi-ng-r2568-20070710/net80211/ieee80211_wireless.c +=================================================================== +--- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_wireless.c 2007-07-12 21:15:44.080418612 +0200 ++++ madwifi-ng-r2568-20070710/net80211/ieee80211_wireless.c 2007-07-12 21:16:19.034410527 +0200 +@@ -1403,6 +1403,7 @@ + } else { + if (!fixed) /* no change */ + return 0; ++ ic->ic_newtxpowlimit = IEEE80211_TXPOWER_MAX; + ic->ic_flags &= ~IEEE80211_F_TXPOW_FIXED; + } + done: |