]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - roc.c
makefile: don't include .config
[thirdparty/iw.git] / roc.c
diff --git a/roc.c b/roc.c
index 1b29e6ae31239e96f63cb20478db2d39d283faaa..c2beb96e56326a81a52c1cc155ef6b4af513a005 100644 (file)
--- a/roc.c
+++ b/roc.c
@@ -14,7 +14,8 @@
 SECTION(roc);
 
 static int handle_roc_start(struct nl80211_state *state, struct nl_cb *cb,
-                           struct nl_msg *msg, int argc, char **argv)
+                           struct nl_msg *msg, int argc, char **argv,
+                           enum id_input id)
 {
        char *end;
        int freq, time;
@@ -37,4 +38,4 @@ static int handle_roc_start(struct nl80211_state *state, struct nl_cb *cb,
        return -ENOBUFS;
 }
 
-COMMAND(roc, start, "<freq> <time>", NL80211_CMD_REMAIN_ON_CHANNEL, 0, CIB_NETDEV, handle_roc_start, "");
+COMMAND(roc, start, "<freq> <time in ms>", NL80211_CMD_REMAIN_ON_CHANNEL, 0, CIB_NETDEV, handle_roc_start, "");