Staging: hv: netvsc_drv: Directly invoke the function netvsc_recv_callback()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:57 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:27:17 +0000 (12:27 -0700)
Directly invoke the function netvsc_recv_callback().

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>
drivers/staging/hv/rndis_filter.c

index d422ac86f65ea032cacecb7c113f4fa6752ff989..9a6c0647d5b382929699137f594e0d98f3bf4e73 100644 (file)
@@ -352,8 +352,7 @@ static void rndis_filter_receive_data(struct rndis_device *dev,
 
        pkt->is_data_pkt = true;
 
-       rndis_filter.inner_drv.recv_cb(dev->net_dev->dev,
-                                                  pkt);
+       netvsc_recv_callback(dev->net_dev->dev, pkt);
 }
 
 int rndis_filter_receive(struct hv_device *dev,