]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - bitrate.c
iw: bump version to 5.0
[thirdparty/iw.git] / bitrate.c
index 4df6185329aaba3c84897b4d6642599feba11c5c..4a026a48e1ba8b2ef26b98a4c257d7e9a284e5a4 100644 (file)
--- a/bitrate.c
+++ b/bitrate.c
@@ -6,7 +6,7 @@
 
 static int parse_vht_chunk(const char *arg, __u8 *nss, __u16 *mcs)
 {
-       int count, i;
+       unsigned int count, i;
        unsigned int inss, mcs_start, mcs_end, tab[10];
 
        *nss = 0; *mcs = 0;
@@ -77,7 +77,6 @@ static int setup_vht(struct nl80211_txrate_vht *txrate_vht,
 #define VHT_ARGC_MAX   100
 
 static int handle_bitrates(struct nl80211_state *state,
-                          struct nl_cb *cb,
                           struct nl_msg *msg,
                           int argc, char **argv,
                           enum id_input id)