浏览代码

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>
Alexander Aring 10 年之前
父节点
当前提交
7e57905ba6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/ieee802154/fakelb.c

+ 1 - 1
drivers/net/ieee802154/fakelb.c

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