Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57d9d3f8 authored by Johannes Berg's avatar Johannes Berg Committed by Amar Singhal
Browse files

nl80211: move vendor/testmode event skb functions out of ifdef



The vendor/testmode event skb functions are needed outside
the ifdef for vendor-specific events, so move them out.

Change-Id: Ide22eb7326bdd524d04f8a7ec3398cdf0a5a88f7
Reported-by: default avatarJouni Malinen <j@w1.fi>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Git-commit: e03ad6eade141daf0df07f1c312e8ae702327939
Git-repo: kernel.googlesource.com/pub/scm/linux/kernel/git/jberg/mac80211-next
Signed-off-by: default avatarAmar Singhal <asinghal@codeaurora.org>
parent d22d9933
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6676,6 +6676,8 @@ static int nl80211_testmode_dump(struct sk_buff *skb,
	return err;
}

#endif

struct sk_buff *__cfg80211_alloc_event_skb(struct wiphy *wiphy,
					   enum nl80211_commands cmd,
					   enum nl80211_attrs attr,
@@ -6723,7 +6725,7 @@ void __cfg80211_send_event_skb(struct sk_buff *skb, gfp_t gfp)
			nl80211_testmode_mcgrp.id, gfp);
}
EXPORT_SYMBOL(__cfg80211_send_event_skb);
#endif


static int nl80211_connect(struct sk_buff *skb, struct genl_info *info)
{