|
@@ -556,8 +556,6 @@ int tipc_enable_bearer(const char *name, u32 bcast_scope, u32 priority)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
b_ptr = &tipc_bearers[bearer_id];
|
|
b_ptr = &tipc_bearers[bearer_id];
|
|
|
- memset(b_ptr, 0, sizeof(struct bearer));
|
|
|
|
|
-
|
|
|
|
|
strcpy(b_ptr->publ.name, name);
|
|
strcpy(b_ptr->publ.name, name);
|
|
|
res = m_ptr->enable_bearer(&b_ptr->publ);
|
|
res = m_ptr->enable_bearer(&b_ptr->publ);
|
|
|
if (res) {
|
|
if (res) {
|