Skip to content

Commit 43dcefa

Browse files
dlechpopcornmix
authored andcommitted
Add #if for 3.14 kernel change (#87)
Fixes compiling after changes in torvalds/linux@f663dd9 and torvalds/linux@99932d4 Fixes #86
1 parent 8808c64 commit 43dcefa

File tree

1 file changed

+6
-0
lines changed
  • drivers/net/wireless/realtek/rtl8192cu/os_dep/linux

1 file changed

+6
-0
lines changed

drivers/net/wireless/realtek/rtl8192cu/os_dep/linux/os_intfs.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,13 @@ unsigned int rtw_classify8021d(struct sk_buff *skb)
945945
return dscp >> 5;
946946
}
947947

948+
#if (LINUX_VERSION_CODE>=KERNEL_VERSION(3,14,0))
949+
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
950+
void *accel_priv,
951+
select_queue_fallback_t fallback)
952+
#else
948953
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb)
954+
#endif
949955
{
950956
_adapter *padapter = rtw_netdev_priv(dev);
951957
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;

0 commit comments

Comments
 (0)