From: Ahmad Kholaif Date: Thu, 26 Feb 2015 13:26:53 +0000 (+0200) Subject: cfg80211: Allow NL80211_ATTR_IFINDEX to be added to vendor events X-Git-Tag: omap-for-v4.2/o2_dc~131^2~105^2~59 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c09e791b21309a1ad71f9702b766dae12a3cb0a;p=pandora-kernel.git cfg80211: Allow NL80211_ATTR_IFINDEX to be added to vendor events This modifies cfg80211_vendor_event_alloc() with an additional argument struct wireless_dev *wdev. __cfg80211_alloc_event_skb() is modified to take in *wdev argument, if wdev != NULL, both the NL80211_ATTR_IFINDEX and wdev identifier are added to the vendor event. These changes make it easier for drivers to add ifindex indication in vendor events cleanly. This also updates all existing users of cfg80211_vendor_event_alloc() and __cfg80211_alloc_event_skb() in the kernel tree. Signed-off-by: Ahmad Kholaif Signed-off-by: Jouni Malinen Signed-off-by: Johannes Berg --- Reading git-diff-tree failed