diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 09fff4662e80..0793d7a8d743 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -1031,7 +1031,7 @@ static int netdev_notify(struct notifier_block *nb, | |||
1031 | 1031 | ||
1032 | sdata = IEEE80211_DEV_TO_SUB_IF(dev); | 1032 | sdata = IEEE80211_DEV_TO_SUB_IF(dev); |
1033 | 1033 | ||
1034 | memcpy(sdata->name, sdata->name, IFNAMSIZ); | 1034 | memcpy(sdata->name, dev->name, IFNAMSIZ); |
1035 | 1035 | ||
1036 | ieee80211_debugfs_rename_netdev(sdata); | 1036 | ieee80211_debugfs_rename_netdev(sdata); |
1037 | return 0; | 1037 | return 0; |