]> 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)
commit20d886648f5fb62cfd0536eeaf36050601acfe10
tree885491af401b6f29f733ea8ca1adc2cb0ad20d0e
parent7da8ec47bd640c6b1d92ab0dd3a132bd84e92acb
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