NASMESH: support for kernel version >= 5.6.0
This commit is contained in:
@@ -297,7 +297,11 @@ int nas_change_mtu(struct net_device *dev, int mtu)
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
|
||||
void nas_tx_timeout(struct net_device *dev, unsigned int txqueue)
|
||||
#else
|
||||
void nas_tx_timeout(struct net_device *dev)
|
||||
#endif
|
||||
{
|
||||
//---------------------------------------------------------------------------
|
||||
// Transmitter timeout, serious problems.
|
||||
|
||||
Reference in New Issue
Block a user