mac802154: set phy net namespace for new ifaces
authorAlexander Aring <aar@pengutronix.de>
Sun, 24 Jul 2016 14:12:24 +0000 (16:12 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commitabbcc341adb16f68915cae7ef9a10e0d7b57e3c0
treed33a23e8cefeb70752c45abfcfaf69b857dd7334
parente64c97b53bc6727aa4385535166aaa047281e02d
mac802154: set phy net namespace for new ifaces

This patch sets the net namespace when creating SoftMAC interfaces. This
is important if the namespace at phy layer was switched before.
Currently we losing interfaces in some namespace and it's not possible
to recover that.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/iface.c