| Submitter | alex.bluesman.smirnov@gmail.com |
|---|---|
| Date | Nov. 30, 2011, 2:28 p.m. |
| Message ID | <1322663284-4166-1-git-send-email-alex.bluesman.smirnov@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/128516/ |
| State | RFC |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
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__);
Set default device type to wpan during creating interface. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com> --- net/ieee802154/nl-phy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)