Open Source Telephony
 help / color / mirror / Atom feed
From: Dragos Tatulea <dragos@endocode.com>
To: ofono@ofono.org
Subject: [PATCH 2/3] gprs: add api for reading access technology
Date: Sat, 12 Mar 2016 15:51:31 +0100	[thread overview]
Message-ID: <1457794292-21184-3-git-send-email-dragos@endocode.com> (raw)
In-Reply-To: <1457794292-21184-1-git-send-email-dragos@endocode.com>

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

Result forwarded from network.c.
---
 src/gprs.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gprs.c b/src/gprs.c
index 9192e68..d9c0fe5 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -3248,3 +3248,8 @@ void *ofono_gprs_get_data(struct ofono_gprs *gprs)
 {
 	return gprs->driver_data;
 }
+
+int ofono_gprs_get_technology(struct ofono_gprs *gprs)
+{
+	return ofono_netreg_get_technology(gprs->netreg);
+}
-- 
2.5.0


  parent reply	other threads:[~2016-03-12 14:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-12 14:51 [RFC v0 0/3] use GEREG for when in LTE networks Dragos Tatulea
2016-03-12 14:51 ` [PATCH 1/3] gprs.h: add api for reading access technology Dragos Tatulea
2016-03-12 14:51 ` Dragos Tatulea [this message]
2016-03-12 14:51 ` [PATCH 3/3] atmodem: gprs: do CEREG instead of CGREG for LTE Dragos Tatulea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457794292-21184-3-git-send-email-dragos@endocode.com \
    --to=dragos@endocode.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox