blob: 7c96bb7818449020bce61d13aaa54a6d566d6962 [file] [log] [blame]
In kernel < 2.6.32 libipw also exports ieee80211_rx.
To avoid conflicts with the other export we rename our.
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -3305,7 +3305,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 */