summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/464-0dbm_txpower_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-07 12:50:15 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-07 12:50:15 +0000
commit6babc9b91ab6cdd9305b270f269b8622c527a88e (patch)
treeb1bd865ddc103600da0e66dbdaf6233a0ae3dd96 /package/madwifi/patches/464-0dbm_txpower_fix.patch
parenta81aed2f57aef263f83f31c8d405d086776f7415 (diff)
move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/464-0dbm_txpower_fix.patch')
-rw-r--r--package/madwifi/patches/464-0dbm_txpower_fix.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/madwifi/patches/464-0dbm_txpower_fix.patch b/package/madwifi/patches/464-0dbm_txpower_fix.patch
deleted file mode 100644
index fbd1d7673..000000000
--- a/package/madwifi/patches/464-0dbm_txpower_fix.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/net80211/ieee80211_wireless.c
-+++ b/net80211/ieee80211_wireless.c
-@@ -1370,15 +1370,9 @@ ieee80211_ioctl_siwtxpow(struct net_devi
- int fixed, disabled;
-
- fixed = (ic->ic_flags & IEEE80211_F_TXPOW_FIXED);
-- disabled = (fixed && ic->ic_txpowlimit == 0);
-- if (rrq->disabled) {
-- if (!disabled) {
-- ic->ic_flags |= IEEE80211_F_TXPOW_FIXED;
-- ic->ic_txpowlimit = 0;
-- goto done;
-- }
-- return 0;
-- }
-+
-+ if (rrq->disabled)
-+ return -EINVAL;
-
- if (rrq->fixed) {
- if ((ic->ic_caps & IEEE80211_C_TXPMGT) == 0)
-@@ -1571,7 +1565,7 @@ ieee80211_ioctl_giwtxpow(struct net_devi
- rrq->fixed = 0;
- }
- rrq->value = txp / 2;
-- rrq->disabled = (rrq->fixed && rrq->value == 0);
-+ rrq->disabled = 0;
- rrq->flags = IW_TXPOW_DBM;
- return 0;
- }