Skip to content

Commit

Permalink
start wps error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi committed Nov 29, 2024
1 parent 2801d75 commit 7ae4877
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NetworkManagerGnomeProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,12 @@ namespace WPEFramework
uint32_t NetworkManagerImplementation::StartWPS(const WiFiWPS& method /* @in */, const string& wps_pin /* @in */)
{
uint32_t rc = Core::ERROR_NONE;
if(method != WIFI_WPS_PBC)
{
NMLOG_ERROR("wps method not support only support wps-pbc");
return Core::ERROR_GENERAL;
}

if(wifi->initiateWPS())
NMLOG_INFO ("startWPS success");
else
Expand Down

0 comments on commit 7ae4877

Please sign in to comment.