]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: don't deliver packets to devices that are down
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Wed, 11 Jun 2014 10:03:07 +0000 (12:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 19:10:19 +0000 (12:10 -0700)
commitdf9e13a49c8fcb8be3e4fbc5276596320df9179a
treebad4e444da804759fe1d8f91d4a940cdcb4ca1fb
parent81c4b9c43a3a2f0744d66c7c4af06ddea05ef040
mac802154: don't deliver packets to devices that are down

Only one WPAN devices can be active at any given time, so only deliver
packets to that one interface that is actually up. Multiple monitors may
be up at any given time, but we don't have to deliver to monitors that
are down either.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/monitor.c
net/mac802154/rx.c
net/mac802154/wpan.c