--- a/include/net/mac80211.h | |
+++ b/include/net/mac80211.h | |
@@ -2792,7 +2792,11 @@ struct ieee80211_ops { | |
void (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); | |
u64 (*prepare_multicast)(struct ieee80211_hw *hw, | |
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) | |
struct netdev_hw_addr_list *mc_list); | |
+#else | |
+ int mc_count, struct dev_addr_list *mc_list); | |
+#endif | |
void (*configure_filter)(struct ieee80211_hw *hw, | |
unsigned int changed_flags, | |
unsigned int *total_flags, |