projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c2c8853
)
madwifi: add a small missing change to the tx power rework
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 26 Mar 2009 23:04:14 +0000
(23:04 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 26 Mar 2009 23:04:14 +0000
(23:04 +0000)
SVN-Revision: 15053
package/madwifi/patches/414-txpower.patch
patch
|
blob
|
history
diff --git
a/package/madwifi/patches/414-txpower.patch
b/package/madwifi/patches/414-txpower.patch
index 9d9e60b2e8c5ff5a76250dc57d03b940b92279fc..5300de90c653368b5932de9853ec455d550af4c0 100644
(file)
--- a/
package/madwifi/patches/414-txpower.patch
+++ b/
package/madwifi/patches/414-txpower.patch
@@
-79,8
+79,12
@@
- (IW_MAX_TXPOWER - i - 1) * step;
range->txpower_capa = IW_TXPOW_DBM;
- (IW_MAX_TXPOWER - i - 1) * step;
range->txpower_capa = IW_TXPOW_DBM;
-@@ -1382,10 +1388,8 @@ ieee80211_ioctl_siwtxpow(struct net_devi
- disabled = (fixed && vap->iv_bss->ni_txpower == 0);
+@@ -1379,13 +1385,11 @@ ieee80211_ioctl_siwtxpow(struct net_devi
+ int fixed, disabled;
+
+ fixed = (ic->ic_flags & IEEE80211_F_TXPOW_FIXED);
+- disabled = (fixed && vap->iv_bss->ni_txpower == 0);
++ disabled = (fixed && ic->ic_txpowlimit == 0);
if (rrq->disabled) {
if (!disabled) {
- if ((ic->ic_caps & IEEE80211_C_TXPMGT) == 0)
if (rrq->disabled) {
if (!disabled) {
- if ((ic->ic_caps & IEEE80211_C_TXPMGT) == 0)