summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libabis/input/ipaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libabis/input/ipaccess.c')
-rw-r--r--openbsc/src/libabis/input/ipaccess.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/openbsc/src/libabis/input/ipaccess.c b/openbsc/src/libabis/input/ipaccess.c
index 8080129f2..142711804 100644
--- a/openbsc/src/libabis/input/ipaccess.c
+++ b/openbsc/src/libabis/input/ipaccess.c
@@ -812,12 +812,6 @@ int ipaccess_setup(struct gsm_network *gsmnet)
{
int ret;
- /* register the driver with the core */
- /* FIXME: do this in the plugin initializer function */
- ret = e1inp_driver_register(&ipaccess_driver);
- if (ret)
- return ret;
-
e1h = talloc_zero(tall_bsc_ctx, struct ia_e1_handle);
if (!e1h)
return -ENOMEM;
@@ -838,3 +832,8 @@ int ipaccess_setup(struct gsm_network *gsmnet)
return ret;
}
+
+void e1inp_ipaccess_init(void)
+{
+ e1inp_driver_register(&ipaccess_driver);
+}