From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:34:56 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Invoke netvsc_linkstatus_callback directly X-Git-Tag: v3.0-rc1~336^2~192 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=39fb6aab389bda799f845d53adbda5df56dd2b0d;p=karo-tx-linux.git Staging: hv: netvsc_drv: Invoke netvsc_linkstatus_callback directly Invoke netvsc_linkstatus_callback directly. 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 23683ae93717..d422ac86f65e 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -317,10 +317,10 @@ static void rndis_filter_receive_indicate_status(struct rndis_device *dev, &resp->msg.indicate_status; if (indicate->status == RNDIS_STATUS_MEDIA_CONNECT) { - rndis_filter.inner_drv.link_status_change( + netvsc_linkstatus_callback( dev->net_dev->dev, 1); } else if (indicate->status == RNDIS_STATUS_MEDIA_DISCONNECT) { - rndis_filter.inner_drv.link_status_change( + netvsc_linkstatus_callback( dev->net_dev->dev, 0); } else { /*