Skip to content

Commit

Permalink
Staging: hv: netvsc_drv: Invoke netvsc_send() directly
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 17, 2011
1 parent 55acb69 commit 0ec6ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0ec6ff4

Please sign in to comment.