From 7ae573c139c8a91bed58060818a2559526aee741 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Thu, 26 Jun 2014 09:26:21 -0700 Subject: [PATCH] net: wireless: Fix cfg80211_vendor_cmd_alloc_reply_skb Change-Id: Ia8da6cdacd5668d10f8955972d996177305b7228 Signed-off-by: Dmitry Shmidt --- include/net/cfg80211.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /** -- 2.34.1