mac802154: add ifname change notifier
authorAlexander Aring <alex.aring@gmail.com>
Wed, 12 Nov 2014 02:36:53 +0000 (03:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Nov 2014 04:10:37 +0000 (05:10 +0100)
commitbe4fd8e5d9f5cd3fdc368e32e7957bcb83bcbb8b
tree177a559b3871138fe989511cfc8ec6de7b5623d6
parent912f67aec761ea4d2107ed0bcb5aef01ae1ecd2e
mac802154: add ifname change notifier

This patch adds a netdev notifier for interface renaming. We have a name
attribute inside of subif data struct. This is needed to have always the
actual netdev name in sdata name attribute.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/ieee802154_i.h
net/mac802154/iface.c
net/mac802154/main.c