aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-06-09 15:04:43 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:38 -0400
commite36d56b64808aec54b68b4e9976180c1da0933b2 (patch)
tree93f0e696d077b58d1064f3321d52b4611addf104 /include/net/cfg80211.h
parente5a8a896f5180f2950695d2d0b79db348d200ca4 (diff)
cfg80211: pass netdev to change_virtual_intf
If there was a reason I'm passing the ifidx I cannot remember it any more and don't see one now, so let's just pass the pointer itself. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 1a21895b732b..90f9bfa3bfc2 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -866,7 +866,8 @@ struct cfg80211_ops {
866 enum nl80211_iftype type, u32 *flags, 866 enum nl80211_iftype type, u32 *flags,
867 struct vif_params *params); 867 struct vif_params *params);
868 int (*del_virtual_intf)(struct wiphy *wiphy, int ifindex); 868 int (*del_virtual_intf)(struct wiphy *wiphy, int ifindex);
869 int (*change_virtual_intf)(struct wiphy *wiphy, int ifindex, 869 int (*change_virtual_intf)(struct wiphy *wiphy,
870 struct net_device *dev,
870 enum nl80211_iftype type, u32 *flags, 871 enum nl80211_iftype type, u32 *flags,
871 struct vif_params *params); 872 struct vif_params *params);
872 873