commit | 949f968676a4bc4425a902521da53782eea6e31e | [log] [tgz] |
---|---|---|
author | Jonas Bonn <jonas@southpole.se> | Sat Apr 15 17:34:42 2017 +0200 |
committer | Denis Kenzior <denkenz@gmail.com> | Mon Apr 17 12:09:48 2017 -0500 |
tree | 9606c0ecc9b12f514cbbd46ed080d07074040460 | |
parent | f0f5a19af5a81a719a5bbf7e7fa662be98cbb3d2 [diff] |
qmi: implement detach_shutdown method The detach_shutdown method is invoked to unconditionally release an active context. For QMI, this is equivalent to a call to deactivate_primary. This patch makes the callback to deactivate_primary optional and implements detach_shutdown to simply call it. When there is no callback, the stop_net callback notifies ofono about the context release via an asynchronous ofono_gprs_context_deactivated() call.