mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Fix compilation for kernels older that 2.6.36
These changes will apply at least back to 2.6.32. From: Stas Sergeev <stsp@list.ru> Signed-off-by: Stas Sergeev <stsp@list.ru> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
d577d378e6
commit
c2741d0bec
6 changed files with 24 additions and 2 deletions
|
@ -197,7 +197,11 @@ _func_enter_;
|
|||
}
|
||||
|
||||
rcu_read_lock();
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
|
||||
rcu_dereference(padapter->pnetdev->rx_handler_data);
|
||||
#else
|
||||
rcu_dereference(padapter->pnetdev->br_port);
|
||||
#endif
|
||||
rcu_read_unlock();
|
||||
|
||||
skb->ip_summed = CHECKSUM_NONE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue