diff options
-rw-r--r-- | drivers/staging/hv/netvsc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 8b73144e7c12..4c2632cb19e9 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c | |||
@@ -717,12 +717,9 @@ static int NetVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo) | |||
717 | } | 717 | } |
718 | 718 | ||
719 | /* Open the channel */ | 719 | /* Open the channel */ |
720 | ret = Device->Driver->VmbusChannelInterface.Open(Device, | 720 | ret = vmbus_open(Device->channel, netDriver->RingBufferSize, |
721 | netDriver->RingBufferSize, | 721 | netDriver->RingBufferSize, NULL, 0, |
722 | netDriver->RingBufferSize, | 722 | NetVscOnChannelCallback, Device); |
723 | NULL, 0, | ||
724 | NetVscOnChannelCallback, | ||
725 | Device); | ||
726 | 723 | ||
727 | if (ret != 0) { | 724 | if (ret != 0) { |
728 | DPRINT_ERR(NETVSC, "unable to open channel: %d", ret); | 725 | DPRINT_ERR(NETVSC, "unable to open channel: %d", ret); |