tipc: add a function to get the bearer name
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Tue, 26 Jul 2016 06:47:21 +0000 (08:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jul 2016 21:26:42 +0000 (14:26 -0700)
commitff0d3e78a67a8edd09688f073361de9ed8abf9dc
treec227005af52da82c24c476a35a97c6cc82d01bfc
parentbf1035b2ff5296c7c49e262152253ce29d87e82d
tipc: add a function to get the bearer name

Introduce a new function to get the bearer name from
its id. This is used in subsequent commit.

Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c
net/tipc/bearer.h