From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:34:57 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Directly invoke the function netvsc_recv_callback() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a25e1dbe9ede75b7601c477eee0b9e3c2e6b9870;p=mv-sheeva.git Staging: hv: netvsc_drv: Directly invoke the function netvsc_recv_callback() Directly invoke the function netvsc_recv_callback(). Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index d422ac86f65..9a6c0647d5b 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,