All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] speedupcdma: Create cdma-netreg atom
@ 2011-12-15 14:13 Guillaume Zajac
  2011-12-16  4:40 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Zajac @ 2011-12-15 14:13 UTC (permalink / raw)
  To: ofono

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

According to SpeedUp 7300 specifications, SpeedUp uses
same AT command as Huawei so we can create cdma-netreg atom
using huaweicdma drivers.
---
 plugins/speedupcdma.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/speedupcdma.c b/plugins/speedupcdma.c
index fbf516c..8e5f324 100644
--- a/plugins/speedupcdma.c
+++ b/plugins/speedupcdma.c
@@ -34,6 +34,7 @@
 #include <ofono/plugin.h>
 #include <ofono/modem.h>
 #include <ofono/devinfo.h>
+#include <ofono/cdma-netreg.h>
 #include <ofono/cdma-connman.h>
 #include <ofono/log.h>
 
@@ -214,6 +215,8 @@ static void speedupcdma_post_online(struct ofono_modem *modem)
 
 	DBG("%p", modem);
 
+	ofono_cdma_netreg_create(modem, 0, "huaweicdmamodem", data->aux);
+
 	ofono_cdma_connman_create(modem, OFONO_VENDOR_HUAWEI, "cdmamodem",
 					data->modem);
 }
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] speedupcdma: Create cdma-netreg atom
  2011-12-15 14:13 [PATCH] speedupcdma: Create cdma-netreg atom Guillaume Zajac
@ 2011-12-16  4:40 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-12-16  4:40 UTC (permalink / raw)
  To: ofono

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

Hi Guillaume,

On 12/15/2011 08:13 AM, Guillaume Zajac wrote:
> According to SpeedUp 7300 specifications, SpeedUp uses
> same AT command as Huawei so we can create cdma-netreg atom
> using huaweicdma drivers.
> ---
>  plugins/speedupcdma.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 

Patch has been applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-16  4:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-15 14:13 [PATCH] speedupcdma: Create cdma-netreg atom Guillaume Zajac
2011-12-16  4:40 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.