aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/417-beacon_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-16 12:02:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-16 12:02:10 +0000
commit5b7afa25a4e226728c3e7e7ce12a48733aa4e0f4 (patch)
tree6a81c9929b190bc7faea33eb9f426a0916b83389 /package/madwifi/patches/417-beacon_txpower.patch
parentc417595371182c1fdbeea746a891331a5a5dfb2e (diff)
downloadupstream-5b7afa25a4e226728c3e7e7ce12a48733aa4e0f4.tar.gz
upstream-5b7afa25a4e226728c3e7e7ce12a48733aa4e0f4.tar.bz2
upstream-5b7afa25a4e226728c3e7e7ce12a48733aa4e0f4.zip
madwifi: fix iwconfig tx power display
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17592 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/417-beacon_txpower.patch')
-rw-r--r--package/madwifi/patches/417-beacon_txpower.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/417-beacon_txpower.patch b/package/madwifi/patches/417-beacon_txpower.patch
index 5a336f8e52..4d713901e0 100644
--- a/package/madwifi/patches/417-beacon_txpower.patch
+++ b/package/madwifi/patches/417-beacon_txpower.patch
@@ -48,7 +48,7 @@
struct ieee80211_node *iv_bss; /* information for this node */
--- a/net80211/ieee80211_wireless.c
+++ b/net80211/ieee80211_wireless.c
-@@ -2862,6 +2862,9 @@ ieee80211_ioctl_setparam(struct net_devi
+@@ -2863,6 +2863,9 @@ ieee80211_ioctl_setparam(struct net_devi
case IEEE80211_PARAM_PROBEREQ:
vap->iv_no_probereq = !value;
break;
@@ -58,7 +58,7 @@
#ifdef ATH_REVERSE_ENGINEERING
case IEEE80211_PARAM_DUMPREGS:
ieee80211_dump_registers(dev, info, w, extra);
-@@ -3227,6 +3230,9 @@ ieee80211_ioctl_getparam(struct net_devi
+@@ -3228,6 +3231,9 @@ ieee80211_ioctl_getparam(struct net_devi
case IEEE80211_PARAM_PROBEREQ:
param[0] = !vap->iv_no_probereq;
break;
@@ -68,7 +68,7 @@
default:
return -EOPNOTSUPP;
}
-@@ -5801,6 +5807,10 @@ static const struct iw_priv_args ieee802
+@@ -5802,6 +5808,10 @@ static const struct iw_priv_args ieee802
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "probereq"},
{ IEEE80211_PARAM_PROBEREQ,
0, IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, "get_probereq"},