D23578: Before requesting a scan, check the time threshold
Méven Car
noreply at phabricator.kde.org
Fri Aug 30 13:07:03 BST 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190830/77a2aa47/attachment.html>
More information about the Plasma-devel
mailing list