Actually iw event does not recognise the NL80211_CMD_DEL_STATION event. This patch makes it print the appropriate message. Signed-off-by: Antonio Quartulli <ordex@xxxxxxxxxxxxx> --- event.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/event.c b/event.c index 18cde45..bc39662 100644 --- a/event.c +++ b/event.c @@ -321,6 +321,10 @@ static int print_event(struct nl_msg *msg, void *arg) mac_addr_n2a(macbuf, nla_data(tb[NL80211_ATTR_MAC])); printf("new station %s\n", macbuf); break; + case NL80211_CMD_DEL_STATION: + mac_addr_n2a(macbuf, nla_data(tb[NL80211_ATTR_MAC])); + printf("del station %s\n", macbuf); + break; case NL80211_CMD_JOIN_IBSS: mac_addr_n2a(macbuf, nla_data(tb[NL80211_ATTR_MAC])); printf("IBSS %s joined\n", macbuf); -- 1.7.3.4 -- 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