Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH IW] util: parse NL80211_CMD_CHANNEL_SWITCH
@ 2014-01-10 16:25 Luciano Coelho
  2014-01-10 18:27 ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Luciano Coelho @ 2014-01-10 16:25 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless

From: Luciano Coelho <luciano.coelho@intel.com>

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@intel.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-10 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-10 16:25 [PATCH IW] util: parse NL80211_CMD_CHANNEL_SWITCH Luciano Coelho
2014-01-10 18:27 ` Johannes Berg
2014-01-10 19:33   ` Luca Coelho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox