It seems that the skb_complete_wifi_ack() function was introduced in 3.2-rc2. So the dummy implementation of this function in compat should not be in compat-3.3.h anymore, but in compat-3.2.h. Signed-off-by: Luciano Coelho <coelho@xxxxxx> --- include/linux/compat-3.2.h | 5 +++++ include/linux/compat-3.3.h | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/linux/compat-3.2.h b/include/linux/compat-3.2.h index cb14f0b..9ca3727 100644 --- a/include/linux/compat-3.2.h +++ b/include/linux/compat-3.2.h @@ -10,6 +10,11 @@ #define PMSG_IS_AUTO(msg) (((msg).event & PM_EVENT_AUTO) != 0) +static inline void skb_complete_wifi_ack(struct sk_buff *skb, bool acked) +{ + WARN_ON(1); +} + /** * skb_frag_page - retrieve the page refered to by a paged fragment * @frag: the paged fragment diff --git a/include/linux/compat-3.3.h b/include/linux/compat-3.3.h index 4965f23..325d488 100644 --- a/include/linux/compat-3.3.h +++ b/include/linux/compat-3.3.h @@ -8,10 +8,6 @@ /* include to override NL80211_FEATURE_SK_TX_STATUS */ #include <linux/nl80211.h> -static inline void skb_complete_wifi_ack(struct sk_buff *skb, bool acked) -{ - WARN_ON(1); -} #define NL80211_FEATURE_SK_TX_STATUS 0 typedef u32 netdev_features_t; -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html