mirror of
https://github.com/brektrou/rtl8821CU.git
synced 2025-12-26 04:36:18 +08:00
Fix build error for Linux >= 4.19
This commit is contained in:
parent
e8e56c1f58
commit
9b61b36f30
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user