diff options
Diffstat (limited to 'net/tipc/net.c')
-rw-r--r-- | net/tipc/net.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c index e78674891166..29538dc00857 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c | |||
@@ -112,10 +112,8 @@ int tipc_net_init(struct net *net, u8 *node_id, u32 addr) | |||
112 | } | 112 | } |
113 | pr_info("Started in network mode\n"); | 113 | pr_info("Started in network mode\n"); |
114 | 114 | ||
115 | if (node_id) { | 115 | if (node_id) |
116 | tipc_set_node_id(net, node_id); | 116 | tipc_set_node_id(net, node_id); |
117 | tipc_net_finalize(net, tipc_own_addr(net)); | ||
118 | } | ||
119 | if (addr) | 117 | if (addr) |
120 | tipc_net_finalize(net, addr); | 118 | tipc_net_finalize(net, addr); |
121 | return 0; | 119 | return 0; |