Search Linux Wireless

[PATCH IW] util: parse NL80211_CMD_CHANNEL_SWITCH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luciano Coelho <luciano.coelho@xxxxxxxxx>

Add the NL80211_CMD_CHANNEL_SWITCH definition to the nl80211 commands
array so that it prints out something useful in the phy info.

Signed-off-by: Luciano Coelho <luciano.coelho@xxxxxxxxx>
---
 util.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util.c b/util.c
index 4542749..3233743 100644
--- a/util.c
+++ b/util.c
@@ -248,6 +248,7 @@ static const char *commands[NL80211_CMD_MAX + 1] = {
 	[NL80211_CMD_FT_EVENT] = "ft_event",
 	[NL80211_CMD_CRIT_PROTOCOL_START] = "crit_protocol_start",
 	[NL80211_CMD_CRIT_PROTOCOL_STOP] = "crit_protocol_stop",
+	[NL80211_CMD_CHANNEL_SWITCH] = "channel_switch",
 };
 
 static char cmdbuf[100];
-- 
1.8.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux