summaryrefslogtreecommitdiff
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
commit9e1fd17d108dd845fa0d60670537de373d29b1e9 (patch)
tree1588904e966ade6a54d3fcadfbab07a14d039562 /package/madwifi/patches/417-beacon_txpower.patch
parentfdf2efaf28ab626b14cb7d5a94981e0be2cedbe8 (diff)
downloadmtk-20170518-9e1fd17d108dd845fa0d60670537de373d29b1e9.zip
mtk-20170518-9e1fd17d108dd845fa0d60670537de373d29b1e9.tar.gz
mtk-20170518-9e1fd17d108dd845fa0d60670537de373d29b1e9.tar.bz2
madwifi: fix iwconfig tx power display
SVN-Revision: 17592
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 5a336f8..4d71390 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"},