From: Dmitry Shmidt Date: Thu, 26 Jun 2014 16:26:21 +0000 (-0700) Subject: net: wireless: Fix cfg80211_vendor_cmd_alloc_reply_skb X-Git-Tag: firefly_0821_release~4090^2~304 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7ae573c139c8a91bed58060818a2559526aee741;p=firefly-linux-kernel-4.4.55.git net: wireless: Fix cfg80211_vendor_cmd_alloc_reply_skb Change-Id: Ia8da6cdacd5668d10f8955972d996177305b7228 Signed-off-by: Dmitry Shmidt --- diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 304e41381a1f..2ebb168e5a5b 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -3696,8 +3696,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); } /**