 6d0099d1a1
			
		
	
	6d0099d1a1
	
	
		
			
	
		
	
	
		
			Some checks failed
		
		
	
	Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			804 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			804 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/driver/wl_linux.c
 | |
| +++ b/driver/wl_linux.c
 | |
| @@ -463,6 +463,16 @@ wl_schedule_fn(wl_info_t *wl, void (*fn)
 | |
|  }
 | |
|  #endif /* DSLCPE_DELAY */
 | |
|  
 | |
| +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
 | |
| +#define WL_DEFAULT_OPS \
 | |
| +	.ndo_open = wl_open, \
 | |
| +	.ndo_stop = wl_close, \
 | |
| +	.ndo_start_xmit = wl_start, \
 | |
| +	.ndo_get_stats = wl_get_stats, \
 | |
| +	.ndo_set_mac_address = wl_set_mac_address, \
 | |
| +	.ndo_set_rx_mode = wl_set_multicast_list, \
 | |
| +	.ndo_do_ioctl = wl_ioctl
 | |
| +#else
 | |
|  #define WL_DEFAULT_OPS \
 | |
|  	.ndo_open = wl_open, \
 | |
|  	.ndo_stop = wl_close, \
 | |
| @@ -471,6 +481,7 @@ wl_schedule_fn(wl_info_t *wl, void (*fn)
 | |
|  	.ndo_set_mac_address = wl_set_mac_address, \
 | |
|  	.ndo_set_multicast_list = wl_set_multicast_list, \
 | |
|  	.ndo_do_ioctl = wl_ioctl
 | |
| +#endif
 | |
|  
 | |
|  static const struct net_device_ops wl_ops = {
 | |
|  	WL_DEFAULT_OPS,
 |