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 60f1ce5e5e52..d2c3fd178dbe 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1717,10 +1717,9 @@ void ieee80211_remove_interfaces(struct ieee80211_local *local)
1717} 1717}
1718 1718
1719static int netdev_notify(struct notifier_block *nb, 1719static int netdev_notify(struct notifier_block *nb,
1720 unsigned long state, 1720 unsigned long state, void *ptr)
1721 void *ndev)
1722{ 1721{
1723 struct net_device *dev = ndev; 1722 struct net_device *dev = netdev_notifier_info_to_dev(ptr);
1724 struct ieee80211_sub_if_data *sdata; 1723 struct ieee80211_sub_if_data *sdata;
1725 1724
1726 if (state != NETDEV_CHANGENAME) 1725 if (state != NETDEV_CHANGENAME)