lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 30 Nov 2011 17:28:04 +0300 From: Alexander Smirnov <alex.bluesman.smirnov@...il.com> To: dbaryshkov@...il.com Cc: linux-zigbee-devel@...ts.sourceforge.net, netdev@...r.kernel.org, davem@...emloft.net, Alexander Smirnov <alex.bluesman.smirnov@...il.com> Subject: [PATCH 12/12] [IEEE802154] ieee802154: set default device as wpan Set default device type to wpan during creating interface. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@...il.com> --- net/ieee802154/nl-phy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/ieee802154/nl-phy.c b/net/ieee802154/nl-phy.c index 0c02fcf..ab211d2 100644 --- a/net/ieee802154/nl-phy.c +++ b/net/ieee802154/nl-phy.c @@ -179,7 +179,7 @@ static int ieee802154_add_iface(struct sk_buff *skb, const char *devname; int rc = -ENOBUFS; struct net_device *dev; - int type = -EINVAL; + int type = IEEE802154_DEV_WPAN; pr_debug("%s\n", __func__); -- 1.7.2.3 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists