]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: iface: check concurrent ifaces
authorAlexander Aring <alex.aring@gmail.com>
Fri, 19 Dec 2014 22:45:58 +0000 (23:45 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 19 Dec 2014 23:06:55 +0000 (00:06 +0100)
commit46bdbc76ca3bd999c47919324eee4f6f19771df9
tree885491af401b6f29f733ea8ca1adc2cb0ad20d0e
parent2a0c9c4ec2a701bf4a5e1bf541c6a224d66ce5f7
mac802154: iface: check concurrent ifaces

This patch adds a check for concurrent interfaces while calling
interface up. This avoids to have different mac parameters on one phy.
Otherwise it could be that a interface can overwrite current phy mac
settings which is set by an another interface.

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