aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-23 18:20:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-23 18:20:51 +0000
commitc3d47454b29682a55ee730e2a90156d3e3bc2543 (patch)
tree00e87657952200aafcf73f825c14d6160a1f6841 /package
parent76bb0f3309862e021d454783a957306b63613a9a (diff)
downloadupstream-c3d47454b29682a55ee730e2a90156d3e3bc2543.tar.gz
upstream-c3d47454b29682a55ee730e2a90156d3e3bc2543.tar.bz2
upstream-c3d47454b29682a55ee730e2a90156d3e3bc2543.zip
iwinfo: fix wl backend, unsigned -> signed for mcs idx, revision bump after latest abi changes
SVN-Revision: 30693
Diffstat (limited to 'package')
-rw-r--r--package/iwinfo/Makefile2
-rw-r--r--package/iwinfo/src/include/iwinfo.h2
-rw-r--r--package/iwinfo/src/iwinfo_wl.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/package/iwinfo/Makefile b/package/iwinfo/Makefile
index 079fe682fe..f74fe2f1f9 100644
--- a/package/iwinfo/Makefile
+++ b/package/iwinfo/Makefile
@@ -7,7 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libiwinfo
-PKG_RELEASE:=30
+PKG_RELEASE:=31
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_CONFIG_DEPENDS := \
diff --git a/package/iwinfo/src/include/iwinfo.h b/package/iwinfo/src/include/iwinfo.h
index 3c8b418831..9e78bab70e 100644
--- a/package/iwinfo/src/include/iwinfo.h
+++ b/package/iwinfo/src/include/iwinfo.h
@@ -62,7 +62,7 @@ extern const char *IWINFO_OPMODE_NAMES[];
struct iwinfo_rate_entry {
uint16_t rate;
- uint8_t mcs;
+ int8_t mcs;
uint8_t is_40mhz:1;
uint8_t is_short_gi:1;
};
diff --git a/package/iwinfo/src/iwinfo_wl.c b/package/iwinfo/src/iwinfo_wl.c
index b7e5d19786..3d15fc9ca7 100644
--- a/package/iwinfo/src/iwinfo_wl.c
+++ b/package/iwinfo/src/iwinfo_wl.c
@@ -401,8 +401,8 @@ static void wl_get_assoclist_cb(const char *ifname,
e->tx_rate.rate = sta.tx_rate;
/* ToDo: 11n */
- e.rx_rate.mcs = -1;
- e.tx_rate.mcs = -1;
+ e->rx_rate.mcs = -1;
+ e->tx_rate.mcs = -1;
}
}