fakelb: creating two virtual phys per default

This patch change the default virtual wpan phys of fakelb driver from
one to two. To have one virtual phy makes no sense, because it need at
least two virtual phy's to speak to each other.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Alexander Aring 2015-05-17 21:44:58 +02:00 committed by Marcel Holtmann
parent 7490b008d1
commit 7e57905ba6

View File

@ -27,7 +27,7 @@
#include <net/mac802154.h>
#include <net/cfg802154.h>
static int numlbs = 1;
static int numlbs = 2;
struct fakelb_dev_priv {
struct ieee802154_hw *hw;