aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/417-beacon_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-23 13:32:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-23 13:32:22 +0000
commitbbc97003109138e7f7c90ee91104317a42f9b959 (patch)
treef227195e20a0d2c9416b2a472cd29e1a4810c973 /package/madwifi/patches/417-beacon_txpower.patch
parenta29453627d3a962384cf4ea53a12607a5d62d554 (diff)
downloadupstream-bbc97003109138e7f7c90ee91104317a42f9b959.tar.gz
upstream-bbc97003109138e7f7c90ee91104317a42f9b959.tar.bz2
upstream-bbc97003109138e7f7c90ee91104317a42f9b959.zip
madwifi: fix maximum txpower display
SVN-Revision: 17687
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 4d713901e0..8a59c1211d 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
-@@ -2863,6 +2863,9 @@ ieee80211_ioctl_setparam(struct net_devi
+@@ -2871,6 +2871,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);
-@@ -3228,6 +3231,9 @@ ieee80211_ioctl_getparam(struct net_devi
+@@ -3236,6 +3239,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;
}
-@@ -5802,6 +5808,10 @@ static const struct iw_priv_args ieee802
+@@ -5810,6 +5816,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"},