summaryrefslogtreecommitdiff
path: root/lib/mc_rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mc_rx.c')
-rw-r--r--lib/mc_rx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/mc_rx.c b/lib/mc_rx.c
index c34d687..2bca6a9 100644
--- a/lib/mc_rx.c
+++ b/lib/mc_rx.c
@@ -213,9 +213,6 @@ int wimaxll_gnl_cb(struct nl_msg *msg, void *_mch)
nl_hdr = nlmsg_hdr(msg);
gnl_hdr = nlmsg_data(nl_hdr);
- if (gnl_hdr->cmd >= WIMAX_GNL_OP_MAX)
- goto error_unknown_msg;
-
switch (gnl_hdr->cmd) {
case WIMAX_GNL_OP_MSG_TO_USER:
if (mch->msg_to_user_cb)