projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: fix netdev rename
[firefly-linux-kernel-4.4.55.git]
/
net
/
mac80211
/
iface.c
diff --git
a/net/mac80211/iface.c
b/net/mac80211/iface.c
index 09fff4662e80d13429ced56f48e78a3e23d5e724..0793d7a8d74323f348abce62003471cdb8ac6e59 100644
(file)
--- a/
net/mac80211/iface.c
+++ b/
net/mac80211/iface.c
@@
-1031,7
+1031,7
@@
static int netdev_notify(struct notifier_block *nb,
sdata = IEEE80211_DEV_TO_SUB_IF(dev);
- memcpy(sdata->name,
sdata
->name, IFNAMSIZ);
+ memcpy(sdata->name,
dev
->name, IFNAMSIZ);
ieee80211_debugfs_rename_netdev(sdata);
return 0;