From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:34:55 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Invoke netvsc_send() directly X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0ec6ff401148f4bfdfde9ac2761045a484eacb56;p=mv-sheeva.git Staging: hv: netvsc_drv: Invoke netvsc_send() directly Invoke netvsc_send() directly. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index bc4e06bf1cf..23683ae9371 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -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