Directly invoke the function rndis_filter_receive().
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>
int i, j;
int count = 0, bytes_remain = 0;
unsigned long flags;
- struct netvsc_driver *netvsc_drv =
- drv_to_netvscdrv(device->device.driver);
LIST_HEAD(listHead);
}
/* Pass it to the upper layer */
- netvsc_drv->recv_cb(device, netvsc_packet);
+ rndis_filter_receive(device, netvsc_packet);
netvsc_receive_completion(netvsc_packet->
completion.recv.recv_completion_ctx);