diff options
-rw-r--r-- | drivers/staging/hv/netvsc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 1c15f9a1a12b..db340135d63f 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c | |||
@@ -1261,9 +1261,8 @@ static void NetVscOnChannelCallback(void *Context) | |||
1261 | } | 1261 | } |
1262 | 1262 | ||
1263 | do { | 1263 | do { |
1264 | ret = device->Driver->VmbusChannelInterface.RecvPacketRaw( | 1264 | ret = vmbus_recvpacket_raw(device->channel, buffer, bufferlen, |
1265 | device, buffer, bufferlen, | 1265 | &bytesRecvd, &requestId); |
1266 | &bytesRecvd, &requestId); | ||
1267 | if (ret == 0) { | 1266 | if (ret == 0) { |
1268 | if (bytesRecvd > 0) { | 1267 | if (bytesRecvd > 0) { |
1269 | DPRINT_DBG(NETVSC, "receive %d bytes, tid %llx", | 1268 | DPRINT_DBG(NETVSC, "receive %d bytes, tid %llx", |