From: Johannes Berg Date: Wed, 8 Apr 2009 11:42:38 +0000 (+0200) Subject: remove "raw" thing X-Git-Tag: v0.9.12~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ea2b1b60d93f872252212d7367fe9064f8ce315;p=thirdparty%2Fiw.git remove "raw" thing --- diff --git a/iw.c b/iw.c index 034cd61..1a16809 100644 --- a/iw.c +++ b/iw.c @@ -122,7 +122,6 @@ static void usage(const char *argv0) fprintf(stderr, "\tphy "); break; case CIB_NETDEV: - case CIB_NETDEV_RAW: fprintf(stderr, "\tdev "); break; } @@ -257,12 +256,6 @@ int handle_cmd(struct nl80211_state *state, enum id_input idby, if (cmd >= &__stop___cmd) return 1; - if (cmd->idby == CIB_NETDEV_RAW) { - argc++; - argv--; - return cmd->handler(state, NULL, NULL, argc, argv); - } - msg = nlmsg_alloc(); if (!msg) { fprintf(stderr, "failed to allocate netlink message\n"); diff --git a/iw.h b/iw.h index c96fd68..7ae65b7 100644 --- a/iw.h +++ b/iw.h @@ -24,7 +24,6 @@ enum command_identify_by { CIB_NONE, CIB_PHY, CIB_NETDEV, - CIB_NETDEV_RAW, }; enum id_input {