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 21, 2016
1 parent 8808c64 commit 43dcefa
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +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)
#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 43dcefa

Please sign in to comment.