iwinfo: add 802.11ac hw mode

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2014-10-20 15:49:24 +02:00
parent ed7d16a3e0
commit d99e8adc4f

View file

@ -206,6 +206,9 @@ rpc_iwinfo_call_hwmodes(const char *name)
{ {
c = blobmsg_open_array(&buf, name); c = blobmsg_open_array(&buf, name);
if (modes & IWINFO_80211_AC)
blobmsg_add_string(&buf, NULL, "ac");
if (modes & IWINFO_80211_A) if (modes & IWINFO_80211_A)
blobmsg_add_string(&buf, NULL, "a"); blobmsg_add_string(&buf, NULL, "a");