summaryrefslogtreecommitdiff
path: root/package/iwinfo/src
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-23 18:20:51 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-23 18:20:51 +0000
commitca25ff4717cabbe4716838f2a79b82f84ff4bdd2 (patch)
tree2631d904d1c0659618f8db8d518ba1eedc7826f7 /package/iwinfo/src
parentbfef9dc359ac8667eed503e92057c679a1448914 (diff)
[package] iwinfo: fix wl backend, unsigned -> signed for mcs idx, revision bump after latest abi changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30693 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iwinfo/src')
-rw-r--r--package/iwinfo/src/include/iwinfo.h2
-rw-r--r--package/iwinfo/src/iwinfo_wl.c4
2 files changed, 3 insertions, 3 deletions
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;
}
}