iface-modem: fix modem state consolidation upon bearer disconnection

Patch "iface-modem: fix invalid modem state consolidation" (commit
69aff6183a9e6532b4074c89831d6dcfa81ddcce) incorrectly consolidates the
modem state upon the disconnection of a bearer. The modem state remains
'connected' after the last bearer is disconnected. This patch fixes
that.
(cherry picked from commit bb73ce0aaf7c8ae4354d34412880a07f82b8a23e)
1 file changed