summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/network-registration.c
AgeCommit message (Collapse)AuthorFilesLines
2015-02-20hfpmodem: Make sure to set the prefix properlyDenis Kenzior1-1/+2
ofonod[1239]: > AT+COPS=3,0\r ofonod[1239]: < \r\n+BCS:2\r\n ofonod[1239]: < \r\nOK\r\n
2013-02-21hfpmodem: Fix segfault in CIEV GAtChat callbackClaudio Takahasi1-3/+3
This patch fixes segmentation fault when the network registration watch is called without being initialized. CIEV GAtChat callback can be called before ofono_netreg_register(). ==15101== Invalid read of size 8 ==15101== at 0x492B56: ofono_netreg_register (network.c:2073) ==15101== by 0x47245E: hfp_netreg_probe (network-registration.c:311) ==15101== by 0x492A8D: ofono_netreg_create (network.c:1881) ==15101== by 0x4849D5: hfp_pre_sim (hfp_hf_bluez5.c:288) ==15101== by 0x48C486: ofono_modem_set_powered (modem.c:1194) ==15101== by 0x484E9D: slc_established (hfp_hf_bluez5.c:85) ==15101== by 0x4702AD: chld_cb (slc.c:147) ==15101== by 0x440457: at_chat_finish_command (gatchat.c:461) ==15101== by 0x44109F: new_bytes (gatchat.c:532) ==15101== by 0x4433B7: received_data (gatio.c:122) ==15101== by 0x3CBAA47824: g_main_context_dispatch (gmain.c:2539) ==15101== by 0x3CBAA47B57: g_main_context_iterate.isra.23 (gmain.c:3146) ==15101== Address 0x18 is not stack'd, malloc'd or (recently) free'd
2011-10-21hfpmodem: Avoid segfault in network-registrationMikel Astiz1-1/+8
The use of g_idle_add can cause a segmentation fault if the object is destroyed in the meantime.
2011-10-10drivers: Update copyright informationMarcel Holtmann1-2/+2
2011-08-05hfpmodem: Fix g_at_chat leakFrédéric Dalleau1-0/+1
2011-07-25hfpmodem: fix network statusFrédéric Danis1-3/+7
When receiving roaming indicator update to 0 (no roaming) network registration status should be updated with latest value of service indicator.
2011-07-21hfp_hf: Reorganize common code into hfpmodemDenis Kenzior1-6/+7
2011-01-29hfpmodem: fix memory leakJeevaka Badrappan1-0/+2
2011-01-29hfpmodem: remove NULL checkJeevaka Badrappan1-12/+0
2011-01-12hfpmodem: M15 coding style fixJeevaka Badrappan1-2/+2
2010-11-29drivers: explicitly compare pointers to NULLLucas De Marchi1-3/+3
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-08-16hfpmodem: Remove useless NULL checks before g_freeMarcel Holtmann1-4/+2
2010-02-08Fix: Don't use ofono_debug directly in pluginsDenis Kenzior1-1/+1
2010-02-04Fix: Don't send undefined values to the coreDenis Kenzior1-3/+4
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-11-18Fix: Report status & tech in hfpmodemDenis Kenzior1-0/+2
2009-11-12Fix: Set data to NULL in hfpmodem driversZhenhua Zhang1-0/+2
2009-11-03Fix: Minor style issuesDenis Kenzior1-3/+3
2009-11-03Create network registration driver for hfpmodemGustavo F. Padovan1-0/+356
This driver handles phone informations about registration status, signal strength and roaming status listening +CIEV commands. It also gets the Network Operator name with +COPS commands.