aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gprs_subscriber.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-10-12 11:57:37 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-02 12:56:47 +0100
commit9c534fdbe8289ccfbf5d2d586acb38fff945aecd (patch)
tree6ae04e4e4c827f201c04a14c8b9eb6b1c01eaeb2 /openbsc/src/gprs/gprs_subscriber.c
parent89ef324eab2aed40a8f530c0ab7534fb93a60151 (diff)
gsup/oap: add OAP to GSUP client.
Trigger an OAP registration upon IPA connect. Feed incoming OAP messages to oap_handle() and send replies returned by it. Add oap_config to sgsn_config (todo: vty). Sponsored-by: On-Waves ehf [hfreyther: Fix coding style]
Diffstat (limited to 'openbsc/src/gprs/gprs_subscriber.c')
-rw-r--r--openbsc/src/gprs/gprs_subscriber.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_subscriber.c b/openbsc/src/gprs/gprs_subscriber.c
index 8231e8cd8..3467293be 100644
--- a/openbsc/src/gprs/gprs_subscriber.c
+++ b/openbsc/src/gprs/gprs_subscriber.c
@@ -63,7 +63,8 @@ int gprs_subscr_init(struct sgsn_instance *sgi)
sgi->gsup_client = gprs_gsup_client_create(
addr_str, sgi->cfg.gsup_server_port,
- &gsup_read_cb);
+ &gsup_read_cb,
+ &sgi->cfg.oap);
if (!sgi->gsup_client)
return -1;