summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK. Y. Srinivasan2011-05-13 04:34:57 +0200
committerGreg Kroah-Hartman2011-05-17 21:27:17 +0200
commita25e1dbe9ede75b7601c477eee0b9e3c2e6b9870 (patch)
treecb624c6d0123a10e7ee3d3e18ba75d77baff0296
parentStaging: hv: netvsc_drv: Invoke netvsc_linkstatus_callback directly (diff)
downloadkernel-qcow2-linux-a25e1dbe9ede75b7601c477eee0b9e3c2e6b9870.tar.gz
kernel-qcow2-linux-a25e1dbe9ede75b7601c477eee0b9e3c2e6b9870.tar.xz
kernel-qcow2-linux-a25e1dbe9ede75b7601c477eee0b9e3c2e6b9870.zip
Staging: hv: netvsc_drv: Directly invoke the function netvsc_recv_callback()
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>
-rw-r--r--drivers/staging/hv/rndis_filter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c
index d422ac86f65e..9a6c0647d5b3 100644
--- a/drivers/staging/hv/rndis_filter.c
+++ b/drivers/staging/hv/rndis_filter.c
@@ -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,