OSDN Git Service

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)
commitbd37a78de91e1b67b540b43f10bbb2d552348cbd
tree885491af401b6f29f733ea8ca1adc2cb0ad20d0e
parent405a26110a735b88963875459efe63f4d274f49d
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