Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Sauerland
rtl8821ce
leap155.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leap155.patch of Package rtl8821ce
diff -U 3 -H -d -r -N -- a/os_dep/linux/ioctl_linux.c b/os_dep/linux/ioctl_linux.c --- a/os_dep/linux/ioctl_linux.c 2023-09-17 14:12:12.244685993 +0200 +++ b/os_dep/linux/ioctl_linux.c 2024-01-20 21:21:13.089388628 +0100 @@ -9787,7 +9787,7 @@ /* set mac addr*/ rtw_macaddr_cfg(adapter_mac_addr(padapter), get_hal_mac_addr(padapter)); - #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) + #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) _rtw_memcpy(padapter->pnetdev->dev_addr, get_hal_mac_addr(padapter), ETH_ALEN); /* set mac addr to net_device */ #else eth_hw_addr_set(padapter->pnetdev, get_hal_mac_addr(padapter)); diff -U 3 -H -d -r -N -- a/os_dep/linux/mlme_linux.c b/os_dep/linux/mlme_linux.c --- a/os_dep/linux/mlme_linux.c 2023-09-17 14:12:12.244685993 +0200 +++ b/os_dep/linux/mlme_linux.c 2024-01-20 21:21:08.673472824 +0100 @@ -400,7 +400,7 @@ mac[4] = 0x11; mac[5] = 0x12; - #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) + #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) _rtw_memcpy(pnetdev->dev_addr, mac, ETH_ALEN); #else eth_hw_addr_set(pnetdev, mac); diff -U 3 -H -d -r -N -- a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c --- a/os_dep/linux/os_intfs.c 2023-09-17 14:12:12.248685910 +0200 +++ b/os_dep/linux/os_intfs.c 2024-01-20 21:21:04.897544817 +0100 @@ -1241,7 +1241,7 @@ } _rtw_memcpy(adapter_mac_addr(padapter), sa->sa_data, ETH_ALEN); /* set mac addr to adapter */ - #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) + #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) _rtw_memcpy(pnetdev->dev_addr, sa->sa_data, ETH_ALEN); /* set mac addr to net_device */ #else eth_hw_addr_set(pnetdev, sa->sa_data); @@ -1707,7 +1707,7 @@ /* alloc netdev name */ rtw_init_netdev_name(ndev, name); - #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) + #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) _rtw_memcpy(ndev->dev_addr, adapter_mac_addr(adapter), ETH_ALEN); #else eth_hw_addr_set(ndev, adapter_mac_addr(adapter)); @@ -2679,7 +2679,7 @@ rtw_mbid_camid_alloc(padapter, adapter_mac_addr(padapter)); #endif rtw_init_wifidirect_addrs(padapter, adapter_mac_addr(padapter), adapter_mac_addr(padapter)); - #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) + #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN); #else eth_hw_addr_set(pnetdev, adapter_mac_addr(padapter)); @@ -3432,7 +3432,7 @@ rtw_mbid_camid_alloc(padapter, adapter_mac_addr(padapter)); #endif rtw_init_wifidirect_addrs(padapter, adapter_mac_addr(padapter), adapter_mac_addr(padapter)); - #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) + #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN); #else eth_hw_addr_set(pnetdev, adapter_mac_addr(padapter)); diff -U 3 -H -d -r -N -- a/os_dep/osdep_service.c b/os_dep/osdep_service.c --- a/os_dep/osdep_service.c 2023-09-17 14:12:12.248685910 +0200 +++ b/os_dep/osdep_service.c 2024-01-20 21:26:04.903824795 +0100 @@ -2513,7 +2513,7 @@ rtw_init_netdev_name(pnetdev, ifname); - #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) + #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN); #else eth_hw_addr_set(pnetdev, adapter_mac_addr(padapter));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor