]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
allow "link" command to print something for ibss
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 8 Jun 2010 10:40:31 +0000 (12:40 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 8 Jun 2010 10:40:31 +0000 (12:40 +0200)
link.c

diff --git a/link.c b/link.c
index b046a2512534b555abe8a2a79c0ea0d37f36dd89..297073da15f05cdf3a72962e47f483aa10deb3df 100644 (file)
--- a/link.c
+++ b/link.c
@@ -70,6 +70,9 @@ static int link_bss_handler(struct nl_msg *msg, void *arg)
        case NL80211_BSS_STATUS_AUTHENTICATED:
                printf("Authenticated with %s (on %s)\n", mac_addr, dev);
                return NL_SKIP;
+       case NL80211_BSS_STATUS_IBSS_JOINED:
+               printf("Joined IBSS %s (on %s)\n", mac_addr, dev);
+               break;
        default:
                return NL_SKIP;
        }