mirror of
https://github.com/brektrou/rtl8821CU.git
synced 2026-03-22 15:39:05 +08:00
Fix build error for Linux >= 4.19
This commit is contained in:
@@ -1447,7 +1447,8 @@ static const struct net_device_ops rtw_netdev_ops = {
|
||||
.ndo_stop = netdev_close,
|
||||
.ndo_start_xmit = rtw_xmit_entry,
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
|
||||
.ndo_init = rtw_ndev_init,
|
||||
// Fix build error for Linux >= 4.19
|
||||
.ndo_init = rtw_ndev_init,
|
||||
.ndo_uninit = rtw_ndev_uninit,
|
||||
.ndo_open = netdev_open,
|
||||
.ndo_stop = netdev_close,
|
||||
|
||||
Reference in New Issue
Block a user