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

Commit d22d9933 authored by Amar Singhal's avatar Amar Singhal
Browse files

cfg80211: Correct API cfg80211_vendor_cmd_reply_skb



Correct the definition of API cfg80211_vendor_cmd_reply_skb. Use the
correct value of command and attribute. This fixes the merge error when
open source commit ad7e718c9b4f717823fd920a0103f7b0fb06183f was pulled
into the tree.

Change-Id: Ibe83feba088fa6933bbef7a6c79cd72e6eda64b0
Signed-off-by: default avatarAmar Singhal <asinghal@codeaurora.org>
parent 816351dd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3730,8 +3730,8 @@ void __cfg80211_send_event_skb(struct sk_buff *skb, gfp_t gfp);
static inline struct sk_buff *
cfg80211_vendor_cmd_alloc_reply_skb(struct wiphy *wiphy, int approxlen)
{
	return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_TESTMODE,
					  NL80211_ATTR_TESTDATA, approxlen);
	return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_VENDOR,
					  NL80211_ATTR_VENDOR_DATA, approxlen);
}

/**