Thread (6 messages) 6 messages, 4 authors, 2015-02-24

Re: [PATCH 1/2] cfg80211: Allow NL80211_ATTR_IFINDEX to be added to vendor events

From: Arend van Spriel <hidden>
Date: 2015-02-20 19:29:03

On 02/20/15 15:35, Jouni Malinen wrote:
quoted hunk ↗ jump to hunk
@@ -7405,6 +7405,12 @@ __cfg80211_alloc_vendor_skb(struct cfg80211_registered_device *rdev,
  			goto nla_put_failure;
  	}

+	if (wdev&&  wdev->netdev) {
+		if (nla_put_u32(skb, NL80211_ATTR_IFINDEX,
+				wdev->netdev->ifindex))
+			goto nla_put_failure;
+	}
+
Could consider putting wdev id in there as well.

Regards,
Arend
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help