aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iwinfo/src
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-01-04 14:08:08 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-01-04 14:08:08 +0000
commit3b7882e7752f154ce6407c892e7b92015c5c3481 (patch)
tree3f2896acd82184b74d5ad75ebd45df75c29198b4 /package/network/utils/iwinfo/src
parentff0c7a9ec9d64c82a449a6da5fb25eb5ce37054e (diff)
downloadupstream-3b7882e7752f154ce6407c892e7b92015c5c3481.tar.gz
upstream-3b7882e7752f154ce6407c892e7b92015c5c3481.tar.bz2
upstream-3b7882e7752f154ce6407c892e7b92015c5c3481.zip
iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
SVN-Revision: 35007
Diffstat (limited to 'package/network/utils/iwinfo/src')
-rw-r--r--package/network/utils/iwinfo/src/iwinfo_nl80211.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/utils/iwinfo/src/iwinfo_nl80211.c b/package/network/utils/iwinfo/src/iwinfo_nl80211.c
index ae75e6d86c..819845ad1d 100644
--- a/package/network/utils/iwinfo/src/iwinfo_nl80211.c
+++ b/package/network/utils/iwinfo/src/iwinfo_nl80211.c
@@ -993,6 +993,7 @@ int nl80211_get_channel(const char *ifname, int *buf)
int nl80211_get_txpower(const char *ifname, int *buf)
{
+#if 0
char *res;
char path[PATH_MAX];
@@ -1002,6 +1003,7 @@ int nl80211_get_txpower(const char *ifname, int *buf)
if ((*buf = nl80211_readint(path)) > -1)
return 0;
+#endif
return wext_get_txpower(ifname, buf);
}