Staging: hv: netvsc_drv: Invoke netvsc_send() directly
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:55 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:27:15 +0000 (12:27 -0700)
Invoke netvsc_send() directly.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/rndis_filter.c

index bc4e06bf1cfa445d39574ed474799fd8da9b69cd..23683ae93717b6196f722e91bc797651ca72c51b 100644 (file)
@@ -252,7 +252,7 @@ static int rndis_filter_send_request(struct rndis_device *dev,
                rndis_filter_send_request_completion;
        packet->completion.send.send_completion_tid = (unsigned long)dev;
 
-       ret = rndis_filter.inner_drv.send(dev->net_dev->dev, packet);
+       ret = netvsc_send(dev->net_dev->dev, packet);
        return ret;
 }
 
@@ -859,7 +859,7 @@ int rndis_filter_send(struct hv_device *dev,
        pkt->completion.send.send_completion = rndis_filter_send_completion;
        pkt->completion.send.send_completion_ctx = filterPacket;
 
-       ret = rndis_filter.inner_drv.send(dev, pkt);
+       ret = netvsc_send(dev, pkt);
        if (ret != 0) {
                /*
                 * Reset the completion to originals to allow retries from