]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: hv: netvsc_drv: Invoke netvsc_linkstatus_callback directly
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:56 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:27:16 +0000 (12:27 -0700)
Invoke netvsc_linkstatus_callback directly.

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 23683ae93717b6196f722e91bc797651ca72c51b..d422ac86f65ea032cacecb7c113f4fa6752ff989 100644 (file)
@@ -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 {
                /*