meven created this revision.
meven added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
Herald added a reviewer: jgrulich.
meven requested review of this revision.
REVISION SUMMARY
Currently we don't follow the documented way to check requestScan results and
if it has succeeded.
This ends up generating, retries and warning such as :
plasma-nm: Wireless scan on "wlp2s0" failed: "Scanning not allowed
immediately following previous scan"
This patch checks if the device has not finished a scan within the last 10
seconds and that the last scan finished before allowing more scans to be
requested.
Depends on D23576 <https://phabricator.kde.org/D23576>
REPOSITORY
R116 Plasma Network Management Applet
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D23578
AFFECTED FILES
libs/handler.cpp
To: meven, #plasma, jgrulich
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2,
ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg,
abetts, sebas, apol, mart