net: wireless: Fix cfg80211_vendor_cmd_alloc_reply_skb
authorDmitry Shmidt <dimitrysh@google.com>
Thu, 26 Jun 2014 16:26:21 +0000 (09:26 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Thu, 26 Jun 2014 17:28:43 +0000 (10:28 -0700)
Change-Id: Ia8da6cdacd5668d10f8955972d996177305b7228
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
include/net/cfg80211.h

index 304e41381a1f8f2a2e34f828201016da08b4e876..2ebb168e5a5be01804a21905d33256062eb44307 100644 (file)
@@ -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);
 }
 
 /**