Staging: hv: netvsc_drv: Invoke rndis_filter_send() directly
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:54 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:27:14 +0000 (12:27 -0700)
In preparation to getting rid of struct netvsc_driver,
make the function  rndis_filter_send()  non-static.

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/netvsc_drv.c

index a55538a5a32ab61b13310354b7fc62ed63421f55..01812bd8ea6c5066259b6f98838414df8d176e4d 100644 (file)
@@ -184,7 +184,7 @@ static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net)
        packet->completion.send.send_completion_ctx = packet;
        packet->completion.send.send_completion_tid = (unsigned long)skb;
 
-       ret = net_drv_obj->send(net_device_ctx->device_ctx,
+       ret = rndis_filter_send(net_device_ctx->device_ctx,
                                  packet);
        if (ret == 0) {
                net->stats.tx_bytes += skb->len;