backports: select_queue patch: fix callback kernel version
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 31 May 2014 13:31:29 +0000 (15:31 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:18 +0000 (00:16 +0200)
The patch changing the callback function signature was backported to
kernel 3.14, this was already fixed in backports for mac80211, but that
commit missed mwifiex.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0028-select_queue/mwifiex.patch

index 215a0f411e702b5d68d4fd0f1d6410c21de589fc..e53683ea0589884654c5c66d07f59abe71f3709b 100644 (file)
@@ -6,7 +6,7 @@ index 9d3d275..f8b16f4 100644
        return &priv->stats;
  }
  
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0)
++#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)