Skip to content

Commit

Permalink
Add #if for 3.14 kernel change (#87)
Browse files Browse the repository at this point in the history
Fixes compiling after changes in torvalds/linux@f663dd9 and torvalds/linux@99932d4

Fixes #86
  • Loading branch information
dlech authored and popcornmix committed Jun 13, 2016
1 parent 759adf6 commit af8b5c2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -945,8 +945,13 @@ unsigned int rtw_classify8021d(struct sk_buff *skb)
return dscp >> 5;
}

#if (LINUX_VERSION_CODE>=KERNEL_VERSION(3,14,0))
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
void *accel_priv, select_queue_fallback_t fallback)
void *accel_priv,
select_queue_fallback_t fallback)
#else
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb)
#endif
{
_adapter *padapter = rtw_netdev_priv(dev);
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
Expand Down

0 comments on commit af8b5c2

Please sign in to comment.