mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacmn: ndo_tx_timeout support for 5.6+ kernel
New parameter txqueue is added for callback ndo_tx_timeout. Add support for it under the kernel version compilation flag. Change-Id: I0234dade56f65d15a4370404e17ff51a8a73ee4e CRs-Fixed: 2666444
This commit is contained in:
parent
e3fe6fc3c0
commit
1d5343f48a
1 changed files with 5 additions and 0 deletions
|
|
@ -108,7 +108,12 @@ end:
|
|||
return;
|
||||
}
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0))
|
||||
static void epping_tx_queue_timeout(struct net_device *dev,
|
||||
unsigned int txqueue)
|
||||
#else
|
||||
static void epping_tx_queue_timeout(struct net_device *dev)
|
||||
#endif
|
||||
{
|
||||
epping_adapter_t *adapter;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue