D10997: Fix conversion of AccessPoint flags to capabilities

Fabian Vogt noreply at phabricator.kde.org
Sat Mar 3 18:41:17 UTC 2018


fvogt created this revision.
fvogt added reviewers: Frameworks, jgrulich, kfunk.
Restricted Application added a project: Frameworks.
fvogt requested review of this revision.

REVISION SUMMARY
  The value of Flags is a set of independant bits, so using a switch-case here
  does not work.
  
  For some reason NM 1.10.4 returns 3 as Flags, which makes this return None.

TEST PLAN
  plasma-nm showed "unknown security type" before, now it's "WPA2-PSK" again.

REPOSITORY
  R282 NetworkManagerQt

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D10997

AFFECTED FILES
  src/accesspoint.cpp

To: fvogt, #frameworks, jgrulich, kfunk
Cc: #frameworks, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180303/0f90a662/attachment.html>


More information about the Kde-frameworks-devel mailing list