mac802154: don't deliver packets to devices that are down
commit2d3b5b0a90e5370ad13ca98d95519c3e41d2c925
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Wed, 11 Jun 2014 10:03:07 +0000 (11 12:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 19:10:19 +0000 (11 12:10 -0700)
treebad4e444da804759fe1d8f91d4a940cdcb4ca1fb
parenta374eeb5e5b35c877a890dce5d3f7cca5a3e33f6
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