From: Johannes Berg Date: Tue, 5 May 2009 12:56:40 +0000 (+0200) Subject: add help for ibss commands X-Git-Tag: v0.9.14~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=806bad30cb3fe44759b94234358eb7fc48040894;p=thirdparty%2Fiw.git add help for ibss commands --- diff --git a/ibss.c b/ibss.c index 65016d1..6322627 100644 --- a/ibss.c +++ b/ibss.c @@ -63,6 +63,12 @@ static int leave_ibss(struct nl80211_state *state, return 0; } COMMAND(ibss, leave, NULL, - NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss, NULL); + NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss, + "Leave the current IBSS cell."); COMMAND(ibss, join, " [fixed-freq] []", - NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss, NULL); + NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss, + "Join the IBSS cell with the given SSID, if it doesn't exist create\n" + "it on the given frequency. When fixed frequency is requested, don't\n" + "join/create a cell on a different frequency. When a fixed BSSID is\n" + "requested use that BSSID and do not adopt another cell's BSSID even\n" + "if it has higher TSF and the same SSID.");