| diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c |
| index 9d3d275..f8b16f4 100644 |
| --- a/drivers/net/wireless/mwifiex/main.c |
| +++ b/drivers/net/wireless/mwifiex/main.c |
| @@ -748,9 +748,18 @@ static struct net_device_stats *mwifiex_ |
| return &priv->stats; |
| } |
| |
| +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0) |
| static u16 |
| mwifiex_netdev_select_wmm_queue(struct net_device *dev, struct sk_buff *skb, |
| void *accel_priv, select_queue_fallback_t fallback) |
| +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0) |
| +static u16 |
| +mwifiex_netdev_select_wmm_queue(struct net_device *dev, struct sk_buff *skb, |
| + void *accel_priv) |
| +#else |
| +static u16 |
| +mwifiex_netdev_select_wmm_queue(struct net_device *dev, struct sk_buff *skb) |
| +#endif |
| { |
| skb->priority = cfg80211_classify8021d(skb, NULL); |
| return mwifiex_1d_to_wmm_queue[skb->priority]; |