diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-08 13:14:36 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-08 13:29:10 +0200 |
commit | 7b39bee1c62dc68c84938cda43115e4d30724d1e (patch) | |
tree | aa0c1961e4320b6eeebf3c0169e984ef99a8c464 /iwinfo_wext.c | |
parent | 9842d2507fa19cdf7d0bfd76df73609d14473b49 (diff) | |
download | iwinfo-7b39bee1c62dc68c84938cda43115e4d30724d1e.tar.gz |
iwinfo: add support for querying available HT modes
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'iwinfo_wext.c')
-rw-r--r-- | iwinfo_wext.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/iwinfo_wext.c b/iwinfo_wext.c index a6cc516..73ba650 100644 --- a/iwinfo_wext.c +++ b/iwinfo_wext.c @@ -440,6 +440,12 @@ static int wext_get_hwmodelist(const char *ifname, int *buf) return -1; } +static int wext_get_htmodelist(const char *ifname, int *buf) +{ + /* Stub */ + return -1; +} + static int wext_get_encryption(const char *ifname, char *buf) { /* No reliable crypto info in wext */ @@ -541,6 +547,7 @@ const struct iwinfo_ops wext_ops = { .quality_max = wext_get_quality_max, .mbssid_support = wext_get_mbssid_support, .hwmodelist = wext_get_hwmodelist, + .htmodelist = wext_get_htmodelist, .mode = wext_get_mode, .ssid = wext_get_ssid, .bssid = wext_get_bssid, |