aboutsummaryrefslogtreecommitdiffstats
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
commit7e0eb5f61c71379d881ac4ca67a05eb0b4f35fad (patch)
tree936c295287aa2e592834d4c636219f77c2284df6
parent902905286e1e2f3c04b2518abbdbb62c2e010fac (diff)
downloadupstream-7e0eb5f61c71379d881ac4ca67a05eb0b4f35fad.tar.gz
upstream-7e0eb5f61c71379d881ac4ca67a05eb0b4f35fad.tar.bz2
upstream-7e0eb5f61c71379d881ac4ca67a05eb0b4f35fad.zip
iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35007 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/network/utils/iwinfo/Makefile2
-rw-r--r--package/network/utils/iwinfo/src/iwinfo_nl80211.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/package/network/utils/iwinfo/Makefile b/package/network/utils/iwinfo/Makefile
index 0bea4ec78f..479dcb5f5b 100644
--- a/package/network/utils/iwinfo/Makefile
+++ b/package/network/utils/iwinfo/Makefile
@@ -7,7 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libiwinfo
-PKG_RELEASE:=37
+PKG_RELEASE:=38
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_CONFIG_DEPENDS := \
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);
}