aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-04-10 10:46:10 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-04-10 10:46:10 +0200
commit9812225d93da8a257ae85c9737afdd2b1d9cfda6 (patch)
tree3be45c4e360d30f37866fd9840a57b25a0c84fd8 /src/mm-iface-modem.c
parent8d4a549e613a76c9f6899ad890fd3410db4cb16f (diff)
bearer: always reset interface state when going into disconnected status
Custom bearer implementations in Plugins are allowed to g_object_set() the MM_BEARER_STATUS property to DISCONNECTED in order to notify that the bearer got disconnected. We need to always reset the interface state (remove IP config, set connected=FALSE,...) also in that case. Also consolidated in some helper private functions the way the bearer status is updated.
Diffstat (limited to 'src/mm-iface-modem.c')
0 files changed, 0 insertions, 0 deletions