eclipse-kura / kura

Eclipse Kura™ is a versatile framework to supercharge your edge devices, streamlining the process of configuring your gateway, connecting sensors, and IoT devices to seamlessly collect, process, and send data to the cloud.
https://eclipse.dev/kura/
Eclipse Public License 2.0
509 stars 312 forks source link

fix(web2): Fixed wireless mode selection #5583

Closed pierantoniomerlino closed 3 days ago

pierantoniomerlino commented 5 days ago

Note: We are using the Conventional Commits convention for our pull request titles. Please take a look at the PR title format document for the supported types and scopes.

This PR fixes a weird behavior in the Wireless tab when the Enable for WAN is selected.

Related Issue: This PR fixes/closes N/A

Description of the solution adopted: When the Wireless tab is selected and the interface is configured as Enabled for WAN and DHCP, the Station Mode is not selectable. This PR fixes this wrong behavior. The cause of this is a wrong enum comparison.

BTW, the release-5.6.0 contains the wrong comparison, while the Kura 5.6.0 tag doesn't.