summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/15-symbol-export-conflicts/net_mac80211_rx.patch
blob: e8f890d27fd0a7a40aa8cd37391bdfb18993a6c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -3317,7 +3317,12 @@ void ieee80211_rx(struct ieee80211_hw *h
  drop:
 	kfree_skb(skb);
 }
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
 EXPORT_SYMBOL(ieee80211_rx);
+#else
+EXPORT_SYMBOL(mac80211_ieee80211_rx);
+#endif
+
 
 /* This is a version of the rx handler that can be called from hard irq
  * context. Post the skb on the queue and schedule the tasklet */