From d99e8adc4fbcf9e7a0b36df05ee1bccbedd45a2a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 20 Oct 2014 15:49:24 +0200 Subject: [PATCH] iwinfo: add 802.11ac hw mode Signed-off-by: Felix Fietkau --- iwinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iwinfo.c b/iwinfo.c index 93407bb..6a12d71 100644 --- a/iwinfo.c +++ b/iwinfo.c @@ -206,6 +206,9 @@ rpc_iwinfo_call_hwmodes(const char *name) { c = blobmsg_open_array(&buf, name); + if (modes & IWINFO_80211_AC) + blobmsg_add_string(&buf, NULL, "ac"); + if (modes & IWINFO_80211_A) blobmsg_add_string(&buf, NULL, "a"); -- 2.25.1