]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - offch.c
iw: remove cb from arguments and simplify valid handler
[thirdparty/iw.git] / offch.c
diff --git a/offch.c b/offch.c
index d8c67c0328af638b8e6f82517234676690cc6fc2..49b101a66001ded5e7cfe0622d7ca025084ea678 100644 (file)
--- a/offch.c
+++ b/offch.c
@@ -9,7 +9,7 @@
 #include "nl80211.h"
 #include "iw.h"
 
-static int offchannel(struct nl80211_state *state, struct nl_cb *cb,
+static int offchannel(struct nl80211_state *state,
                      struct nl_msg *msg, int argc, char **argv,
                      enum id_input id)
 {