]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - ocb.c
iw: remove cb from arguments and simplify valid handler
[thirdparty/iw.git] / ocb.c
diff --git a/ocb.c b/ocb.c
index 7da05d164d1e82006d5833db99a4711377a3a7e9..fc48ecfcf29b7713fa79b2b0dedc8393830470a2 100644 (file)
--- a/ocb.c
+++ b/ocb.c
@@ -7,7 +7,7 @@
 
 SECTION(ocb);
 
-static int join_ocb(struct nl80211_state *state, struct nl_cb *cb,
+static int join_ocb(struct nl80211_state *state,
                    struct nl_msg *msg, int argc, char **argv,
                    enum id_input id)
 {
@@ -63,7 +63,7 @@ COMMAND(ocb, join, "<freq in MHz> <5MHZ|10MHZ>",
        NL80211_CMD_JOIN_OCB, 0, CIB_NETDEV, join_ocb,
        "Join the OCB mode network.");
 
-static int leave_ocb(struct nl80211_state *state, struct nl_cb *cb,
+static int leave_ocb(struct nl80211_state *state,
                     struct nl_msg *msg, int argc, char **argv,
                     enum id_input id)
 {