iwinfo: fix wl backend, unsigned -> signed for mcs idx, revision bump after latest abi changes

SVN-Revision: 30693
This commit is contained in:
Jo-Philipp Wich 2012-02-23 18:20:51 +00:00
parent 76bb0f3309
commit c3d47454b2
3 changed files with 4 additions and 4 deletions

View File

@ -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 := \

View File

@ -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;
};

View File

@ -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;
}
}