symbian bearer: fix tst_qnetworksession test failures
authorShane Kearns <shane.kearns@accenture.com>
Mon, 19 Sep 2011 13:34:04 +0000 (14:34 +0100)
committerShane Kearns <shane.kearns@accenture.com>
Mon, 19 Sep 2011 16:02:49 +0000 (17:02 +0100)
commita0ad54acd33873316908080f432768fdf3e3bfc2
tree1538f18412e3b8ed67d5114fa83636d793100d6f
parent5d626bb3a510956415a43739211b7d127de0757f
symbian bearer: fix tst_qnetworksession test failures

Symbian is not reporting the expected KLinkLayerClosed event on the
last RConnection handle. Instead, it reports the event
KConfigDaemonFinishedDeregistrationStop, which indicates the nif
plugin is being destroyed (this is followed by unload events)

To fix, this event is treated the same as a link down event, and
results in the state change to disconnected.

Either there has been a behaviour change in the platform, or the
test was previously run with another user of the API running in the
background (e.g. WLAN wizard, connection monitor) which prevented
the unload.

Task-Number: QTBUG-21382
Reviewed-By: mread
src/plugins/bearer/symbian/qnetworksession_impl.cpp