This updates the g1 code to create the GAtChat object in the enable()
and to unref it in the disable() callback. This is more in line with what
the other plugins do, and as a bonus fixes a segfault when powering down
the G1 modem..
Signed-off-by: Andres Salomon <dilinger(a)collabora.co.uk>
I see that Denis has applied this patch. In the future, please leave the
Signed-off-by lines out since we are not using them inside oFono. That
is more a kernel commit thing.