-Index: madwifi-dfs-r3252/net80211/ieee80211_scan_ap.c
-===================================================================
---- madwifi-dfs-r3252.orig/net80211/ieee80211_scan_ap.c 2008-01-25 21:13:50.852748172 +0100
-+++ madwifi-dfs-r3252/net80211/ieee80211_scan_ap.c 2008-01-25 21:14:33.343169561 +0100
-@@ -46,7 +46,12 @@
- #include <linux/netdevice.h>
- #include <linux/init.h>
- #include <linux/delay.h>
-+
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
-+#include "sort.c"
-+#else
- #include <linux/sort.h>
-+#endif
-
- #include "if_media.h"
-
-Index: madwifi-dfs-r3252/net80211/sort.c