Skip to content

Commit

Permalink
Staging: hv: netvsc_drv: Directly invoke the function netvsc_recv_cal…
Browse files Browse the repository at this point in the history
…lback()

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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 17, 2011
1 parent 39fb6aa commit a25e1db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a25e1db

Please sign in to comment.