]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - vendor.c
iw: remove cb from arguments and simplify valid handler
[thirdparty/iw.git] / vendor.c
index f32c00b7cbfcbcc3b424c06fcbfc5f201feb6715..5a693753f9498890309ab3376a167a2273c575de 100644 (file)
--- a/vendor.c
+++ b/vendor.c
@@ -45,7 +45,7 @@ static int read_hex(int argc, char **argv, char *buf, size_t size)
        return argc;
 }
 
-static int handle_vendor(struct nl80211_state *state, struct nl_cb *cb,
+static int handle_vendor(struct nl80211_state *state,
                         struct nl_msg *msg, int argc, char **argv,
                         enum id_input id)
 {