diff --git a/[refs] b/[refs] index 3ecb5741f988..80b8cc788ffb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 44e8482c77bdf35ba8d5fd8d8d8e56c11e1d39fa +refs/heads/master: a350d1fdfb6ed326493fe7e024acd8f65f7437c4 diff --git a/trunk/drivers/staging/wlags49_h2/wl_netdev.c b/trunk/drivers/staging/wlags49_h2/wl_netdev.c index 207933efc981..2259a5fb6183 100644 --- a/trunk/drivers/staging/wlags49_h2/wl_netdev.c +++ b/trunk/drivers/staging/wlags49_h2/wl_netdev.c @@ -1763,15 +1763,14 @@ void wl_wds_netif_carrier_on( struct wl_private *lp ) ******************************************************************************/ void wl_wds_netif_carrier_off( struct wl_private *lp ) { - int count; - /*------------------------------------------------------------------------*/ + int count; - if( lp != NULL ) { - for( count = 0; count < NUM_WDS_PORTS; count++ ) { - if( lp->wds_port[count].is_registered ) - netif_carrier_off( lp->wds_port[count].dev ); - } - } + if( lp != NULL ) { + for( count = 0; count < NUM_WDS_PORTS; count++ ) { + if( lp->wds_port[count].is_registered ) + netif_carrier_off( lp->wds_port[count].dev ); + } + } } // wl_wds_netif_carrier_off /*============================================================================*/