Home
last modified time | relevance | path

Searched refs:dev_wds (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/staging/wlags49_h2/
Dwl_netdev.c1512 struct net_device *dev_wds = NULL; in wl_wds_device_alloc() local
1514 dev_wds = kmalloc( sizeof( struct net_device ), GFP_KERNEL ); in wl_wds_device_alloc()
1515 memset( dev_wds, 0, sizeof( struct net_device )); in wl_wds_device_alloc()
1517 ether_setup( dev_wds ); in wl_wds_device_alloc()
1519 lp->wds_port[count].dev = dev_wds; in wl_wds_device_alloc()
1578 struct net_device *dev_wds = NULL; in wl_wds_device_dealloc() local
1580 dev_wds = lp->wds_port[count].dev; in wl_wds_device_dealloc()
1582 if( dev_wds != NULL ) { in wl_wds_device_dealloc()
1583 if( dev_wds->flags & IFF_UP ) { in wl_wds_device_dealloc()
1584 dev_close( dev_wds ); in wl_wds_device_dealloc()
[all …]