]> git.baikalelectronics.ru Git - kernel.git/commit
fakelb: allow to run as monitor
authorAlexander Aring <aar@pengutronix.de>
Wed, 6 Jul 2016 21:32:31 +0000 (23:32 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Jul 2016 11:23:12 +0000 (13:23 +0200)
commit67663136400225488c05b7fbe90aed25ca6d3040
tree118f56d75997273830fdf51f4a8d4be58aac9bf9
parent7a27248cba406566d06ab252c40c337250bd60f5
fakelb: allow to run as monitor

For my RIOT-OS in userspace experiments I need to create a fakelb
monitor interface. The fakelb doesn't filter anything on L2 and is a
purely raw interface. Because nl802154 checks on promiscuous mode which
need to supported by creating monitors this patch adds some no-op
promiscuous mode setting and the promiscuous flag.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/fakelb.c