Blackberry bearer plugin: Only Report working interfaces as active
authorPeter Hartmann <phartmann@rim.com>
Tue, 23 Oct 2012 10:42:20 +0000 (12:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 26 Oct 2012 10:25:08 +0000 (12:25 +0200)
commitb9551c1b47277d58d86a82ce15501663257ed9a1
treed46e7fc0abc232824bb2e6935f6630abfa552e94
parentc89dc4fdd2770ba3ad52303a2f4cb0c6403a2ecd
Blackberry bearer plugin: Only Report working interfaces as active

Some interfaces might be connected but not working (e.g. no IP address,
no gateway etc.)

In practice, this prevents the USB interface (among others) from
being reported as active and thus the QNetworkConfigurationManager
as being reported as online.
We only want Wifi and 3G etc. connections to be reported as online
when they are up.

Change-Id: I59fbe53bed8392d363a0191d589737f2304c853f
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Andrey Leonov <aleonov@rim.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
src/plugins/bearer/blackberry/qbbengine.cpp