diff options
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r-- | net/mac80211/driver-ops.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index e6033b06caba..d51afbd614d3 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -1036,4 +1036,16 @@ drv_set_default_unicast_key(struct ieee80211_local *local, | |||
1036 | trace_drv_return_void(local); | 1036 | trace_drv_return_void(local); |
1037 | } | 1037 | } |
1038 | 1038 | ||
1039 | #if IS_ENABLED(CONFIG_IPV6) | ||
1040 | static inline void drv_ipv6_addr_change(struct ieee80211_local *local, | ||
1041 | struct ieee80211_sub_if_data *sdata, | ||
1042 | struct inet6_dev *idev) | ||
1043 | { | ||
1044 | trace_drv_ipv6_addr_change(local, sdata); | ||
1045 | if (local->ops->ipv6_addr_change) | ||
1046 | local->ops->ipv6_addr_change(&local->hw, &sdata->vif, idev); | ||
1047 | trace_drv_return_void(local); | ||
1048 | } | ||
1049 | #endif | ||
1050 | |||
1039 | #endif /* __MAC80211_DRIVER_OPS */ | 1051 | #endif /* __MAC80211_DRIVER_OPS */ |