Staging: hv: netvsc_drv: Invoke netvsc_send() directly
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>
This commit is contained in:
parent
55acb696a8
commit
0ec6ff4011
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue