]> Pileus Git - ~andy/linux/blobdiff - drivers/net/hyperv/rndis_filter.c
hyperv: Fix the missing return value in rndis_filter_set_packet_filter()
[~andy/linux] / drivers / net / hyperv / rndis_filter.c
index 1337b64b36a4299a98272555e7125420e7a7abd8..617eb2e4b06ef19688b2db169a6825c684f16ceb 100644 (file)
@@ -647,6 +647,7 @@ int rndis_filter_set_packet_filter(struct rndis_device *dev, u32 new_filter)
        if (t == 0) {
                netdev_err(ndev,
                        "timeout before we got a set response...\n");
+               ret = -ETIMEDOUT;
                /*
                 * We can't deallocate the request since we may still receive a
                 * send completion for it.