aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/iface.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index a2a8250e2f84..cc117591f678 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1764,10 +1764,9 @@ void ieee80211_remove_interfaces(struct ieee80211_local *local)
1764} 1764}
1765 1765
1766static int netdev_notify(struct notifier_block *nb, 1766static int netdev_notify(struct notifier_block *nb,
1767 unsigned long state, 1767 unsigned long state, void *ptr)
1768 void *ndev)
1769{ 1768{
1770 struct net_device *dev = ndev; 1769 struct net_device *dev = netdev_notifier_info_to_dev(ptr);
1771 struct ieee80211_sub_if_data *sdata; 1770 struct ieee80211_sub_if_data *sdata;
1772 1771
1773 if (state != NETDEV_CHANGENAME) 1772 if (state != NETDEV_CHANGENAME)